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

Re: tar question



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!

Attachment: signature.asc
Description: OpenPGP digital signature


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