|
|
._ Filenames Droplet
Wow, I'm really glad I found this thread. I've been having problems using my mp3 jukebox with OSX for this reason. My problem is, the droplet doesn't seem to work. I think it is only deleting the res forks in the root directory, when I have a hiearchy of /artists/albums/files.mp3. How can I vary the script to look for res forks in all of the directories?
._ Filenames Droplet
Just change the 'do shell script' line to read
do shell script "rm -rf /Volumes/" & disco & "/._*"This will cause the rm command to recurse through directories looking for files that start with '._' The -r flag means recurse and the -f (force) flag means remove the file even if they are not 'writable' and ignore non-existent files. (Obviously, non-existent files aren't a issue ion this case, but we want to kill all the ._'s even if they aren't writable.) Love, The Surfer
._ Filenames Droplet
-r doesn't really mean search recursively. what it does mean is if a folder matches then that folder and it's contents should be removed |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|