J.P. Trosclair <[email protected]> ha escrit:

> tar pf test.tar --catenate --no-recursion --files-from <(find
> /var/lib/postfix/ /var/spool/postfix/ -type d)

The --catenate option concatenates two or more tar archives, not files
(see http://www.gnu.org/software/tar/manual/html_node/concatenate.html).

What you need to use is the --append (-r) option (see
http://www.gnu.org/software/tar/manual/html_node/appending-files.html),
e.g.:

find /var/lib/postfix/ /var/spool/postfix/ -type d |
 tar rpf test.tar --no-recursion --files-from -

Regards,
Sergey


Reply via email to