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

Re: [cobalt-users] tar command for transfers



"J. Masterson" wrote in reply to:

> > I want to transfer some sites from a Raq2 to Raq3 keeping all permissions
> > and ownership intact. What tar commands are you guys using to pack and
> 
> tar -zcfp filename.tar *
> 
> That may do it...

To nitpick, that should be a .tgz file if you're going to use the z option.

> Under Linux, the 'z' should additionally gzip the file, and the 'p'
> should preserve permissions...

...and that's 'c' ofr create and 'f' for filename.

> > unpack the files? Do you recommend using the gzip option? I've done all of
> > this before on other unix systems, but I just want make sure I use the right
> > functions/options with my tar commands within the Cobalt/Linux OS.

Use "man tar" to check that it does what you expect, in that case.