tar question

Mikkel L. Ellertson mikkel at infinity-ltd.com
Sun Nov 9 00:51:47 UTC 2008


chloe K wrote:
> Hi
> I have number of selected files to backup and it is also in different
> folders
> How can I make it easy?
> 
> eg:
> tar zcvf select-file.tar.gz from selected file or tar zcvf
> select-file.tar.gz (from selected files in file.txt)?
>  
> Thank you for your help
> 
Check out the -T <file-list> or --files-from=<file-list> option.
Something like: (Double check the syntax!)

tar zcv -T file.txt -f elect-file.tar.gz

You will probable find the tar info file more helpful then the tar
man page.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20081108/9906bb91/attachment-0001.sig>


More information about the fedora-list mailing list