Quantcast
Channel: BSDnexus
Viewing all articles
Browse latest Browse all 17

Pipe filenames to tar

$
0
0

Simple oneliner that demonstrates the principle of how to specify the files you wish tar to archive (or extract) by piping to it:

cat filenames.txt | tar cvzf ~/try.tgz -T -

Viewing all articles
Browse latest Browse all 17

Trending Articles