Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the '10.5: Remove the 'downloaded file' warning flag' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Remove the 'downloaded file' warning flag
Authored by: joelparker on Nov 20, '08 01:22:13PM
If you want to change this on the command line as suggested above, you need to escape the spaces in filenames using the "-print0" in find and the "-0" in xargs, e.g.,
find folderpath -print0 | xargs -0 xattr -d
in fact, I plan to use this frequently (I find it particularly annoying the ACL is inherited into all the files in an archive you have downloaded), so I have an alias in my .cshrc (which I prefer to a Folder Action because I have control over when to use it):
alias noquar 'find !$ -print0 | xargs -0 sudo xattr -d'

[ Reply to This | # ]