440Forums  |  MacMusic.org  |  PcMusic.org  |  440tv  |  Zicos  |  AudioLexic
saved   {key13}


Clean Up Messy Folders with Hazel

TidBITS

Tuesday November 13, 2007. 10:05 PM
TidBITS

I recently wrote about how keeping backups in BBEdit saved my bacon during a recent server crash (see "BBEdit 8.7.1 Adds Features, Fixes Bugs, Saves Data," 2007-11-08). I ended the piece by commenting that I hadn't realized I was storing over 17,000 files in that BBEdit Backups folder, so I trashed everything from before 2007. After reading about my situation, Chris Owen of Hubris Communications wrote to tell me about a short cron script he runs every night on his BBEdit backups directory to delete all files older than six months, plus files older than 30 days that are also greater than 500K in size. For those who are or wish to become cron-savvy, here's what Chris sent me. (Modifying this script to work on machines other than Chris's is left as an exercise to the reader.) #!/bin/bash find /Temp/Backups/ -mtime +180 -exec rm {} ; find /Temp/Backups/ -size +500 -mtime +30 -exec rm {} ; I thought Chris's point was brilliant, but I didn't have time to wade through the Unix man pages to figure out how to set up a cron script. Besides, I've been looking for uses for Noodlesoft's Hazel, a snazzy little utility that watches specified folders and does things with the contents when your criteria are matched. After 30 seconds of work in the Hazel preference pane to implement both of Chris's rules, my BBEdit Backups folder was cleaner than ever. And thanks to Hazel's constant lookout, I don't have to worry about that folder's contents growing out of control any more. Needless to say, Hazel can match files on a wide variety of conditions, and it can do a lot more than just move files to the Trash. See the screenshot for the conditions and actions menus, which list all the possibilities. For anyone who finds themselves needing to manage a regular influx of files - whether that management involves deleting, renaming, importing into iPhoto, or whatnot - Hazel is the easiest method I know about. Hazel 2.1.1 costs $21.95 and is available for 14-day trial; it's a 1.6 MB download and requires Mac OS X 10.4 Tiger or Mac OS X 10.5 Leopard.  Copyright © 2007 Adam C. Engst. TidBITS is copyright © 2007 TidBITS Publishing Inc. If you're reading this article on a Web site other than TidBITS.com, please let us know, because if it was republished without attribution, by a commercial site, or in modified form, it violates our Creative Commons License. Seamlessly run Windows on your Mac with VMware Fusion! RunWindows, Linux, and Solaris simultaneously without rebooting.Customizable toolbars, easy to manage virtual packages, and more.VMware Fusion: $69.99!   ...
recently wrote about keeping backups BBEdit saved bacon during recent server crash Clean Messy Folders with Hazel
Clean Up Messy Folders with Hazel Read more at TidBITS
db.tidbits.com/article/9310

 

 Related News 
TMO Quick Tip - Managing Leopard's Smart Folders TMO Quick Tip - Managing Leopard's Smart Folders
 TheMacObserver 11/21/07 02 PM 
HierarchicalDock Adds Hierarchical Menus to Leopard Dock Folders HierarchicalDock Adds Hierarchical Menus to Leopard Dock Folders
 TheMacObserver 11/19/07 03 PM 
Core2 Extreme hits 3.4 GHz, free old Mac software, restore pr... Core2 Extreme hits 3.4 GHz, free old Mac software, restore pr...
 Low End Mac 11/16/07 05 PM 
10.5: Enable default permissions on shared folders 10.5: Enable default permissions on shared folders
 MacOsxHints 11/16/07 05 PM 
Free Hierarchy 1.0: hierarchical menus for Mac OS X Leopard f... Free Hierarchy 1.0: hierarchical menus for Mac OS X Leopard f...
 Mac Daily News 11/15/07 05 PM 
Free Hierarchy 1.0 returns hierarchical menus to Mac OS X Leo... Free Hierarchy 1.0 returns hierarchical menus to Mac OS X Leo...
 Mac Daily News 11/15/07 05 PM 
10.5: Organize RSS Feeds in Mail via folders 10.5: Organize RSS Feeds in Mail via folders
 MacOsxHints 11/13/07 05 PM 
10.5: See and use some extra built-in Smart Folders 10.5: See and use some extra built-in Smart Folders
 MacOsxHints 11/13/07 01 AM 
How to change the group id of files and folders How to change the group id of files and folders
 MacFixIt 11/12/07 06 PM 
Camouflage 1.16  Hides Messy Desktops Camouflage 1.16 Hides Messy Desktops
 AppleLinks 11/07/07 08 AM 
10.5: Apache 2 site troubles with permissions and folders 10.5: Apache 2 site troubles with permissions and folders
 MacOsxHints 11/06/07 01 AM 
10.5: How to select and close folders quickly in list view 10.5: How to select and close folders quickly in list view
 MacOsxHints 11/05/07 05 PM 
10.5: How to modify user-created Smart Folders 10.5: How to modify user-created Smart Folders
 MacOsxHints 11/01/07 10 PM 
10.5: How to keep folders, not Stacks, in the Dock 10.5: How to keep folders, not Stacks, in the Dock
 MacOsxHints 10/31/07 04 PM 
Menu Bars So Clean, They Seem To Disappear Menu Bars So Clean, They Seem To Disappear
 TidBITS 10/31/07 12 AM 
Use Command-click in Safari Bookmarks bar folders Use Command-click in Safari Bookmarks bar folders
 MacOsxHints 10/29/07 04 PM 
Phone Fingers Keep Your iPhone's Screen Clean Phone Fingers Keep Your iPhone's Screen Clean
 iPod Hacks 10/24/07 10 PM 
Map Gmail IMAP Folders to Mail.app Default Folders Map Gmail IMAP Folders to Mail.app Default Folders
 MacOsxHints 10/24/07 04 PM 
Hazel 2.1 adds Leopard compatibility Hazel 2.1 adds Leopard compatibility
 Mac Merc 10/23/07 04 AM 
Apps: Hazel, Meal Planning Apps: Hazel, Meal Planning
 MacNN 10/23/07 01 AM 
Noodlesoft releases Leopard-compatible Hazel 2.1 Noodlesoft releases Leopard-compatible Hazel 2.1
 Mac Minute 10/22/07 05 PM 

Search

Mac Zicos
Fri September 5, 06:55 AM
saved   {key13}