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 for --extractall option #40

Open
r-a-y opened this issue Jan 30, 2022 · 1 comment
Open

Support for --extractall option #40

r-a-y opened this issue Jan 30, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@r-a-y
Copy link

r-a-y commented Jan 30, 2022

Hi, came across your project and it looks very useful!

However, what if we have an asset that is an archive and we wanted to extract all the files from the asset to a destination directory? Currently, the --extract command is only useful for one file from the archive, so another option like --extractall would be useful.

For a more, advanced option, perhaps there could be a --extract-but-omit <files-and-directories-comma-delimited>, which would extract all the files, but omit certain ones based on the argument.

Thanks for considering!

@jooola jooola added the enhancement New feature or request label Jan 30, 2022
@jooola
Copy link
Owner

jooola commented Feb 1, 2022

This definitely crossed my mind while creating this tool. I was thinking to allow glob patterns in the --extract flag, and to allow multiple --extract flags.

Needs some experimenting.

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

No branches or pull requests

2 participants