repak icon indicating copy to clipboard operation
repak copied to clipboard

[Feat] Allow wildcards for -i option

Open PhantomGamers opened this issue 1 year ago • 2 comments

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.

PhantomGamers avatar Aug 31 '24 09:08 PhantomGamers

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 avatar Aug 31 '24 18:08 trumank

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

trumank avatar Aug 31 '24 18:08 trumank