schwer-q / xar

Automatically exported from code.google.com/p/xar
0 stars 0 forks source link

xar should print out the file name it is archiving prior to archival #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Right now, when you archive a file, it will print out the file name once
that file has successfully been added to the archive.  Instead, it would be
much more useful for debugging purposes to print the filename before it is
archived.

Original issue reported on code.google.com by bbraun on 19 Apr 2007 at 10:37

GoogleCodeExporter commented 9 years ago
The issue here is xar currently prints out the path within the archive, not the 
path given.  Xar does some path 
munging when you archive something, stripping out leading / and extraneous 
///'s and ../../../../'s.  We only get 
the munged path back from xar_add() or xar_extract() after the file has been 
archived or extracted.

So, we could print the file path before the file is added/extracted, but it 
would be a different file path from what 
is currently being printed.

Original comment by bbraun on 21 Apr 2007 at 6:05

GoogleCodeExporter commented 9 years ago
Maybe have -v be prior to archival (file-system path) and -V post archival 
(archive path)

Original comment by psa...@gmail.com on 24 Oct 2007 at 3:23