On 10/20/2011 12:10 PM, e-letter wrote:
Or if you insist on using redirection, then use '-' as the --files-from
argument to tell tar to read from stdin:
tar --extract --file=/path/to/tarball --files-from=-
</path/to/list/of/files.txt
Please, from where did you get the information about the use of the
dash (-) character in this context?
Common convention among many unix tools is to treat '-' as a synonym for
stdin. I don't know if 'info tar' explicitly calls this out, though
that would be a question for bug-tar.
--
Eric Blake [email protected] +1-801-349-2682
Libvirt virtualization library http://libvirt.org