You would need to handle this using the -prune option to find. I just
wrote a script to do something like what you are talking about, and I
*think* that it looks like this:
cd /home/howard
find . -path .netscape/cache/* -prune -path vmware/* -prune -o -print \
| cpio -ovH crc
On Tue, 4 Jan 2000, John Davis wrote:
I have a zip disk which I would like to use for archive in Linux. Can I
run tar so that it will take a 500 Meg archive and split it into 5 100
Meg tar files? If so, how do I do this?
Have you already tried man tar?
To write a tar archive over multiple
This is not exactly what you were asking for, but you might try something
like:
tar -cvMf /dev/sdz directories_to_archive
where /dev/sdz is replaced by the device for your Zip drive. The 'M'
option should (according to the man page) cause tar to prompt you for the
next disk when it runs out of
Michael W. Shaffer wrote:
I highly recommend using cpio in preference to tar if the archives are
for your own use and not public distribution to unknown platforms. The
command to use cpio would be:
find directories_to_archive | cpio -ovH crc /dev/sdz
Cpio will automatically span
4 matches
Mail list logo