Re: speeding up tar

From: Aaron Morris (aaronmorris@MINDSPRING.COM)
Date: Fri Apr 11 2003 - 02:23:12 EDT


You are probably going to have to use find in any circumstance. If you
need a tar file try using pax:

find . -name "*.tar" -type f | pax -wv -x ustar -f blah.tar

John Dunn wrote:
> I have a script that tars up lots of files....up to 30,000
>
> Because of the number of files and the need to avoid the "arg list too long"
> problem, I am running a find command to list the files
>
> find . -name "*.txt" > tarlist
>
> tar -cf$TARFILE -L tarlist
>
> I am wondering whether using the find and then the -L method is relatively
> slow and whether avoiding using a list would speed things up.
>
> How can I tar up 30000 files without using find and -L??
>
> John
>

--
Aaron W Morris
decep
PGP Key ID:  259978D1


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:44 EDT