Archive for ‘ June, 2009 ’

list all files with resource forks on Mac OS X

This is mostly just a note to myself. If you ever have the need to find all files that contain HFS resource forks on Mac OS X, just use this bit of find magic:

find . -type f -exec test -s {}/..namedfork/rsrc \; -print

RANDOM BITS FROM A LINUX ENGINEER