Globber is a lightweight Windows command-line utility that expands wildcard arguments (like *.py) in commands that don't support globbing natively β such as git, mv, or custom scripts.
With Globber, you can run:
globber git mv *.py src/and it transforms that into:
git mv a.py b.py c.py src/I like to rename it to $.exe and then you can write
$ git mv *.py src/WHY ? - Because Windows CMD does NOT expand wildcards in arguments. So if you run:
git mv *.py src/you get an error like:
fatal: bad source, source=.py, destination=src/.py
- Expands
*and?in any argument position - Keeps non-wildcard args untouched
- Works via standard
system()call - Supports filenames with spaces
- Tiny executable: ideal for scripting or Git hooks
globber <command> [args with wildcards]globber echo *.txt
globber git mv *.c src/
globber custom_script.exe "data set*/raw*.csv"
And if you rename globber.exe to %.exe
$ git mv *.c src/Using Tiny C Compiler:
tcc -o globber.exe globber.cLink to Tiny C Compiler: https://bellard.org/tcc/
Or MSVC:
cl globber.c /Fe:globber.exeglobber.cβ the main source fileglobber.exeβ compiled binaryREADME.mdβ this documentation
MIT β free to use, hack, and share.
Unix shells that just do this right.