One Quickie


Recursively adding directories (CVS->General)
To recursively add stuff in CVS:
% find . -type d -print | grep -v CVS | xargs cvs add
% find . -type f -print | grep -v CVS | xargs cvs add
The first adds the directories, the second adds the files. Filenames with spaces in them won't be added, and it won't do the Right Thing with -kb for binary files.



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

webmonster@borkware.com