Safely remove '._' files via an AppleScript

Mar 08, '05 09:20:00AM

Contributed by: tocoolcjs

The following script cleans up those pesky '._' resource fork files whenever it is safe to. I wrote it mainly for my Windows-formatted iPod, but others may find it useful, so here it is ... WinFSCleanser (macosxhints.com mirror).

The list of file types that can safely lose their resource fork are listed in the script as safe_ext, and prompted for at run time. There are so many bits and pieces of so many other scripts that I can't remember them all. So I thank you if something you did is in here.

[robg adds: There are previous hints on removing the resource fork files, but this seems like a good, all-inclusive script. Just be careful with it, as you can break programs if you delete resource forks that they rely on...]

Comments (12)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20050227210451902