unix

How do I tar files using a file list?

tar cf archive.tar -T filelist.txt

or

tar cf archive.tar -T <(find /path/to/search -name "*.txt")

Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

To Top