3 ms·
tar is actually tar [args] [list of things] where [args] may contain [-f filename], among other things. That is, the destination filename is an optional ar
by Sharlin 16y ago
tar is actually
tar [args] [list of things]
where [args] may contain [-f filename], among other things.
That is, the destination filename is an optional argument; by default tar outputs to a tape device or stdout, depending on the implementation.
At least in GNU tar, the target filename can very well be specified as the last argument:
tar -c foo.txt bar.txt baz.txt -f stuff.tar
- joshu 16y agogood point!