richardlehane / siegfried

signature-based file format identification
http://www.itforarchivists.com/siegfried
Apache License 2.0
214 stars 30 forks source link

Enable glob functionality on Windows #212

Closed ross-spencer closed 1 year ago

ross-spencer commented 1 year ago

Small PR to enable glob function on Windows. It looks like the glob pattern just needs to be expanded first and then fed into identify through a loop (mirroring -f flag).

Tested on Windows and Linux, both look equivalent.

richardlehane commented 1 year ago

I like it thanks :)