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

[Feat] Allow wildcards for -i option #29

Open
PhantomGamers opened this issue Aug 31, 2024 · 2 comments
Open

[Feat] Allow wildcards for -i option #29

PhantomGamers opened this issue Aug 31, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@PhantomGamers
Copy link

Allow wildcards, or maybe even full regex, so that you can include files that match a particular pattern.

In my use case I was looking to extract all of the ini files from a pak, so being able to do .\repak.exe unpack -i *.ini pakname.pak would be nice.

@trumank
Copy link
Owner

trumank commented Aug 31, 2024

Globbing is supported but single * will not match more than one path component. Use ** to match all directories and then *.ini to match ini files: e.g. repak unpack -i '**/*.ini' <pak>

@trumank trumank closed this as completed Aug 31, 2024
@trumank trumank reopened this Aug 31, 2024
@trumank
Copy link
Owner

trumank commented Aug 31, 2024

I'll leave this open since the documentation could be improved with some globbing examples.

@trumank trumank added the documentation Improvements or additions to documentation label Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants