[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Large number of files in single directory



----- Original Message ----- From: "Stephen Carville" <stephen totalflood com>
Sent: Wednesday, May 25, 2005 10:50 AM
Subject: Re: Large number of files in single directory


Try:

$ find <directory> -exec tar -avf foo.tar {} \;

Didn't work. The -a is an invalid option on Fedora, it seems. I replaced it with -cz to create and compress the tar file, but even with that, it goes through the list of files (lists them one per line) as if it was actually taring them, but the resulting .tar file only has the very LAST file that tar listed - and nothing else in it. :-?


Chris



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]