mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpgtar: Emit progress status lines in create mode.
* tools/gpgtar.h (opt): Add field status_stream.
* tools/gpgtar.c (main): Set status_stream.
* tools/gpgtar-create.c (global_header_count): Rename to
global_total_files.
(global_written_files): New.
(global_total_data, global_written_data): New.
(struct scanctrl_s): Add field file_count.
(write_progress): New.
(write_file): Add arg skipped_open. Don't bail out immediatly on open
error. Write progress lines.
(gpgtar_create): Write progress lines. Print info aout skipped files.
--
GnuPG-bug-id: 6363
(cherry picked from commit f84264e8ac
)
This commit is contained in:
parent
706d557a64
commit
ed9a420a22
4 changed files with 142 additions and 13 deletions
|
@ -1106,7 +1106,13 @@ pkd:0:1024:B665B1435F4C2 .... FF26ABB:
|
|||
- learncard :: Send by the agent and gpgsm while learing
|
||||
the data of a smartcard.
|
||||
- card_busy :: A smartcard is still working
|
||||
- scd_locked :: Waiting for other clients to unlock the scdaemon
|
||||
- scd_locked :: Waiting for other clients to unlock the
|
||||
scdaemon
|
||||
- gpgtar :: Here <char> has a special meaning: 's'
|
||||
indicates total size and 'c' file count. A
|
||||
<total> of zero indicates that gpgtar is in the
|
||||
scanning phase. A positive <total> is used in
|
||||
the writing phase.
|
||||
|
||||
When <what> refers to a file path, it may be truncated.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue