How can I pipe information into tar
specifying the names of the file?
views:
337answers:
1
+1
A:
Instead of using pipe you could use backticks, e.g.:
tar cvzf archive.tgz `ls -1 *`
Instead of ls -1 *
you can put any other command which produces list of needed to archive files
Laimoncijus
2010-04-08 06:36:53