speeding up tar

From: John Dunn (john.dunn@SEFAS.CO.UK)
Date: Thu Apr 10 2003 - 06:04:43 EDT


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



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