One Quickie


Removing quarantine xattribute from downloaded files. (Unix->General)
Download a zip file full of graphics, and they all have extra attributes?
% ls -l
total 18192
-rw-r--r--@ 1 markd  staff   13354 Jan  5 18:46 Icon-114.png
-rw-r--r--@ 1 markd  staff   21379 Jan 18 10:56 Icon-152.png
-rw-r--r--@ 1 markd  staff  484470 Jan  5 18:40 Icon-167.png
...
Which are quarantine tags:
% ls -l@
total 18192
-rw-r--r--@ 1 markd  staff   13354 Jan  5 18:46 Icon-114.png
        com.apple.quarantine        61
-rw-r--r--@ 1 markd  staff   21379 Jan 18 10:56 Icon-152.png
        com.apple.quarantine        61
-rw-r--r--@ 1 markd  staff  484470 Jan  5 18:40 Icon-167.png
        com.apple.quarantine        61
Get rid of them with this:
% xattr -d com.apple.quarantine *



borkware home | products | miniblog | rants | quickies | cocoaheads
Advanced Mac OS X Programming book

webmonster@borkware.com