find and delete

Leave a comment

find . -name ".svn" -exec rm -rf {} \;

tar gzip several files into a single archive

2 Comments

from http://www.gzip.org/#faq7

for GNU tar: gtar cvzf file.tar.gz filenames
for any tar: tar cvf - filenames | gzip > file.tar.gz