[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?

Look at the -T or the --files-from option to tar. You can put all of the filenames in a single file and instruct to archive just the files listed in that one file. Is this what you want?

eg:
tar zcvf select-file.tar.gz from selected file or tar zcvf select-file.tar.gz (from selected files in file.txt)?

tar zcvfT selected-file.tar.gx files.txt

--
Kevin J. Cummings
kjchome rcn com
cummings kjchome homeip net
cummings kjc386 framingham ma us
Registered Linux User #1232 (http://counter.li.org)


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