Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Feb 29, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant