bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] RFC: quiet-option for tar-1.19


From: Harald Koenig
Subject: [Bug-tar] RFC: quiet-option for tar-1.19
Date: Tue, 8 Jan 2008 15:21:44 +0100
User-agent: Mutt/1.5.17 (2007-11-01)

Hello *,

this is not (really) a bug report but a RFC for a new feature/option 
which I'm already using for years (based on request of some colleagues).

this quiet-option might be usefull for other tar users too, so here is my patch 
(attached).


rationale for the patch:  using "tar --compare" gives very verbose output 
if owner/group/permissions have changed (e.g. when extracting a source tar file
from the net and later I'd like to check which source files I have 
modified/patched).
this makes it somewhat hard not to miss the "important" output lines (e.g. 
size/md5 changed).

the patch adds a new option "-Q" or "--quiet" which gives adds two "quiet 
levels"
(giving 3 verbosity level alltogether: "normal default", "reasonable quiet"
and "completely quiet" (more or less a > /dev/null) when specified twice).

over the time, I only use the first quiet level, the additional "-QQ" feature
seems to be more or less academic to me today;-)  

my typical usage is

      tar zdQf tool-sources.tar.gz 

which shows "exactly" the relevant changes/filenames to me...


any comments or takers?



thanks,

Harald Koenig
-- 
"I hope to die                                      ___       _____
before I *have* to use Microsoft Word.",           0--,|    /OOOOOOO\
Donald E. Knuth, 02-Oct-2001 in Tuebingen.        <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig                                          \/\/\/\/\/\/\/\/\/
science+computing ag                                    //  /     \\  \
address@hidden                            ^^^^^       ^^^^^
-- 
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Florian Geyer,
Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Prof. Dr. Hanns Ruder
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196 

Attachment: tar-1.19-quiet.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]