|
|
APPLE! Suggested Feature. Plus, Removal Tip
What are you going to do if someone does 'ln -s / ._foo' and then you run this script?
Good point.
In the case of files, perhaps I will have to restrict the filetype to "file" as opposed to "directory", or perhaps there's an option (probably, but not at my computer currently) to not follow symlinks.
Good point.
Obviously the ultimate ds_store removal one-liner is still in active development...What is wrong with:
APPLE! Suggested Feature. Plus, Removal Tip
You're talking FUD. From
man find:
-P Never follow symbolic links. This is the default behaviour. When find examines or prints information a file, and the file is a symbolic link, the information used shall be taken from the properties of the symbolic link itself.This means that, with find, even without the -P option, will instruct rm to operate on the symlink, not its target.
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks 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.09 seconds |
|