mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
gpgtar: Make option -C work for archive creation.
* tools/gpgtar-create.c (gpgtar_create): Switch to the -C directory.
--
The -C option is pretty useful given that pattern are always relative
to the current directory. In contrast to GNU tar, the switching is
done only once.
Signed-off-by: Werner Koch <wk@gnupg.org>
(cherry picked from commit b3a7a51407
)
This commit is contained in:
parent
2e4151a341
commit
5d73c231e4
3 changed files with 14 additions and 5 deletions
|
@ -2014,10 +2014,11 @@ Do not actually output the extracted files.
|
|||
@item --directory @var{dir}
|
||||
@itemx -C @var{dir}
|
||||
@opindex directory
|
||||
Extract the files into the directory @var{dir}. The
|
||||
default is to take the directory name from
|
||||
the input filename. If no input filename is known a directory named
|
||||
@file{GPGARCH} is used.
|
||||
Extract the files into the directory @var{dir}. The default is to
|
||||
take the directory name from the input filename. If no input filename
|
||||
is known a directory named @file{GPGARCH} is used. For tarball
|
||||
creation, switch to directory @var{dir} before performing any
|
||||
operations.
|
||||
|
||||
@item --files-from @var{file}
|
||||
@itemx -T @var{file}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue