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

RE: [cobalt-users] Backing up with tar and gzip



> >take a look at #tar --help
> >you'll see that the v stands for verbose,
> >-v, --verbose         verbosely list files processed
> 
> >So the command would be something like...
> 
> >tar -cf backupufile.tar somedir
> Thanks, now there is any way to create in 1 steep a tar.gz ? without to
> do tar -cf file.tar somedir
> And
> Gzip -cr9 "CANTREMEMBER" file.tar

Try this (usual at your own risk...bla bla)
tar -c directorypath | gzip > gzippedtarfile.tar.gz

eg.
tar -c ./web/* | gzip > ./web/web.tar.gz


Paul ASI

sig--
Developers of www.ourfaqsite.com
Your faqs are your own business