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

Support cutting relative top level directory when extracting files from archive #58

Open
abarsov opened this issue Sep 20, 2017 · 2 comments

Comments

@abarsov
Copy link

abarsov commented Sep 20, 2017

This is mostly about signature of overloaded extract methods. Those might declare additional parameter with relative path that should be cut off while extracting.
unzip

@thrau
Copy link
Owner

thrau commented Sep 21, 2017

could you provide a unzip or tar command that does this? this helps me think about how to extend the api.

@abarsov
Copy link
Author

abarsov commented Sep 21, 2017

There is a similar option for tar --strip-components.
Though it simply cut top level directories.

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

No branches or pull requests

2 participants