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

Re: tar



On Sat, Jul 10, 2004 at 05:57:17PM -0500, Bob McClure Jr wrote:
> On Sat, Jul 10, 2004 at 02:35:53PM +0200, J.L. Coenders wrote:
> > Probably an easy question for you, but I am fiddling with it for hours and 
> > can't seem to find out how to make a multi-volume tar file, which is 
> > preferably also zipped. I think I am approaching it in the wrong way.
> > 
> > with the command below I can make a multi-volume file, however it overwrites 
> > the last volume with the next, and it isn't gzipped:
> > 
> > tar -ML 650000 -cvf backup.tar *
> > 
> > Any ideas how to solve this?
> > 
> As another noted, use the -z option to get gzipping.  "man tar" for
> more info.
> 
> As for the "-ML 650000", I think that works only on tapes, where you
> change the media.  So if you told it to write to /dev/sometape
> (instead of backup.tar), it still expects to write the next volume to
> /dev/sometape, so, in the same way, it (reasonably) continues writing
> to backup.tar.
> 
> I think you need another solution to your multi-volume file approach.
 
$ man split

-- 
 /\oo/\
/ /()\ \ David Mackintosh | Public Key: 
         dave xdroop com  | http://www.xdroop.com/dave/gpg.html
         $ gpg --recv-keys --keyserver subkeys.pgp.net 4C032504

Attachment: pgp00003.pgp
Description: PGP signature


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