ibneko: (Default)
Here's a one-liner to remove xattr from files in a directory on MacOS X. (Mostly to quickly strip out the annoying quarantine flag set on downloaded files).

for i in $(ls -Rl@ | grep '^ ' | awk '{print $1}' | sort -u); do echo Removing $i ... >&2; find . | xargs xattr -d $i 2>/dev/null ; done

Note the space after the ^ should be typed with control-v, then tab (to insert a proper tab).

Found this over at http://zzamboni.org/brt/2008/05/07/removing-all-extended-attributes-from-a-directory-tree/index.html. Posting it here so I don't lose the stupid thing again.
ibneko: (Default)
I can center-click (third mouse button) on a youtube video, which brings up a "Save FLV to download folder" option. o.O Quite spiffy. Not too sure what I installed to give me that option, but it beats keepvid.

::nudges [livejournal.com profile] porsupah:: Do you have it too? (that is, if you have a mouse with a clickable middle button/third button/whatnot)
ibneko: (Default)

It lets you disable spotlight, indexing, etc.

Apparently my spotlight index was taking up 'bout .5 GB. ::twitch::

Expand Cut Tags

No cut tags


ibneko: (Default)


RSS Atom

Most Popular Tags

Style Credit

Page generated Oct. 21st, 2017 11:03 pm
Powered by Dreamwidth Studios
November 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 2016