[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] Possible tar bug with -C, --from-files stdin and --null
From: |
Sergey Poznyakoff |
Subject: |
Re: [Bug-tar] Possible tar bug with -C, --from-files stdin and --null |
Date: |
Tue, 23 Sep 2008 22:43:26 +0300 |
John Hein <address@hidden> ha escrit:
> The `--null' option is just like the one in GNU `xargs' and `cpio',
> and is useful with the `-print0' predicate of GNU `find'. In `tar',
> `--null' also causes `--directory=DIRECTORY' (`-C DIRECTORY') options
> to be treated as file names to archive, in case there are any files out
> there called `-C'.
> ==============
In fact, entries read from a file supplied with the -T option
are treated exactly as if they were typed at the command line, i.e.
it there happen to be any options in it, they are obeyed. This is
suppressed if --null option is given. That's what this paragraph
was meant to explain.
Regards,
Sergey