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

Feature request: allow multiple archives as separate arguments #8

Open
tremby opened this issue May 13, 2020 · 4 comments
Open

Feature request: allow multiple archives as separate arguments #8

tremby opened this issue May 13, 2020 · 4 comments

Comments

@tremby
Copy link

tremby commented May 13, 2020

When extracting or listing contents, I think it would be valuable to be able to give multiple archive names as part of the same command.

I wonder if this could improve speed too when unarchiving a lot of files -- this may be the case if a lot of the runtime is setup and shutdown and the extraction itself is fast.

At the moment if I try to list several archives it lists the first then stops. If I try to extract several archives it does nothing at all. No error message or warning or error exit code in either case.

@mjwoodcock
Copy link
Owner

If you put several arguments, then it uses the list as filenames to extract from the archive (just as unzip does, I seem to remember). So I shall need to think about that one.

Your speed suggestion seems reasonable.

@tremby
Copy link
Author

tremby commented May 14, 2020

Ah, I see. That makes sense too. The only ones I've been working with so far have been CFS, which as far as I can tell is only ever a single file at a time, so I've been very much in gunzip mode.

@mjwoodcock
Copy link
Owner

Yes, CFS is only ever one file.
I was thinking about ways to implement this that would make sense with other archive types, but I think it will all get too confusing. So I'm going to close this one, if that's OK.

@tremby
Copy link
Author

tremby commented May 15, 2020

Of course, up to you!

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