|
tar, zip multiple separate directories and move the results to another volume
TIA,
I'm using FreeBSD 6
I have a series of Directories (A,B,C,...Z). Each directory has files and other directories within it.
I want to compress the contents of each top directory into a single file so that I get an archive of each directory (for example, A.gzip) AND and want to move that compressed file to another volume on the system.
I have managed to be able to gzip the contents of each directory, but end up with a complete directory structure full of .gzips.
Looking on here I see that tar appears to be able to create the single-file archives I want, but I cannot tell if tar will compress and combine the files AND put the finished results on the other volume.
Ideas? Thanks again,
johnC
|