Monday, August 01, 2005

Find and tar

Find some files and tar them together:

find . -type f -name "*.java" | xargs tar cvf myfile.tar
or
find . -mtime +37 | xargs tar rf ~/test.tar
Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?