One Quickie


Doing something to a hierarchy of files (Unix->General)
To do something to all of the html files in a directory (e.g. to grep something)
% cd directory
% find . -name "*.h" -exec grep NSDoWhatIMean {} ; -print

Don't forget the dot right after find, and the {} construct. Also make sure there's a space after the {} and ;



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

webmonster@borkware.com