Peter Langfelder wrote:
On Sat, Nov 8, 2008 at 4:30 PM, chloe K chloekcy2000@yahoo.ca 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
I have no advice to offer if you insist on using tar, but you may want to look at rsync. You can preserve the directory structure, all flags, and use it only on a selection of files.
If he wants multiple independent mirrors (e.g. a weekly CD), rsync is a poor choice because there would be no compression. If he wants a single mirror, I would recommend rdiff-backup.
Matt Flaschen