| [AUTOMATOR] Cleaning DS_Store and ._* I'll break the ice then.
This workflow asks for one or many locations (folders or volumes) on which you would like to remove:
• ._DS_Store
• ._FILENAME
You also, obviously, require necessary permissions to delete the files you're trying to delete. I wipped this up in 2 minutes to clean the flash media card for my iDEN i880 cell phone, which tries to play every file it sees, which is all of them. I have not extensively tested this scirpt and do not accept any responsibility if it somehow deletes everything on your computer (though, it really shouldn't).
If you regularly use this in the same way I do (for cleaning up a cell phone memory card, for example) you can change the first element to a static folder name, and then add an Eject Volume action at the end, so it all gets done with one click.
I've also included a PDF of the workflow for anyone interested only in looking. It's pretty simple!
__________________ michaelsanford.com Blog Twitter Tumblr LinkedIn
iMac Aluminum 24" | MacOS X 10.5-current | 3.06 GHz Intel Core Duo | 4 GB RAM | 1 TB HDD
iBook G4 1.42 GHz | MacOS X 10.5-current | 1 GB RAM, 100 GB HDD
AMD Athlon64 3500+ | Slackware 12 (2.6.21.5-smp) | 2 GB RAM, 2120 GB RAID 1, 2500 GB RAID 0
Last edited by michaelsanford; January 22nd, 2008 at 01:15 PM.
Reason: Corrected something
|