NoSmokingBandit Posted November 5, 2009 Share Posted November 5, 2009 Seeing as pretty much everyone in the osx86 project dual-boots i figured i should share this. Its just a simple automator service that erases every file starting with "." on your external drive then ejects it. To install you just drop it in <user folder>/Library/Services. When you want to clean and eject your media right-click on it and choose "Clean Hidden Files and Eject" and the rest is just magic :censored2: It also creates a ".metadata_never_index" file in the root of your drive so spotlight doesnt slow down your system indexing the drive every time you plug it in. If you dont want that file created open the workflow in automator and erase the line "touch "$@"/.metadata_never_index" in the last box "do shell script." Please report any bugs you may find, though i doubt i can help because i am a total noob to automator and applescript. If someone wants to improve this feel free to do so, just post the modifications so we can all use it. Clean_Hidden_Files_and_Eject.zip Link to comment Share on other sites More sharing options...
zarac Posted November 5, 2009 Share Posted November 5, 2009 lol, you forgot to attach your script btw, you can use blueharvest to: * Automatically remove ".DS_Store" files. * Automatically remove Resource fork (._) files. * Remove .Trashes folders from removable disks. * Use simple contextual menu Finder based cleaning of disks, folders and Zip archives. some screenshots: http://mac.softpedia.com/progScreenshots/B...shot-11561.html Link to comment Share on other sites More sharing options...
NoSmokingBandit Posted November 5, 2009 Author Share Posted November 5, 2009 I attached it now, sorry about that. I know all about Blueharvest, but it costs money. Imo apple should buy blueharvest and integrate it in 10.7. Ir just fix the damn finder and stop leaving {censored} all over the place. Link to comment Share on other sites More sharing options...
Suzuka Posted November 5, 2009 Share Posted November 5, 2009 Theres always the dot_clean command Link to comment Share on other sites More sharing options...
Recommended Posts