Re: tar question

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

 



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@xxxxxxx
cummings@xxxxxxxxxxxxxxxxxx
cummings@xxxxxxxxxxxxxxxxxxxxxxx
Registered Linux User #1232 (http://counter.li.org)

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux