Globbing doesn't do recursionSee original GitHub issue
To get recursion, I have to add an additional
/** per directory level. So for a directory nested four levels in, I have to target
**/**/**/**. Is this expected behavior? I’m on Windows, but I do everything in the bash - globbing always works as expected.
- Created 8 years ago
- Comments:16 (7 by maintainers)
Top GitHub Comments
Here is the output:
C:\Temp\test\renamer-test>npm test > email@example.com test C:\Temp\test\renamer-test > renamer -f .txt -r .yeah -d one/** Dry run √ one\file1.txt -> one\file1.yeah √ one\file2.txt -> one\file2.yeah √ one\file3.txt -> one\file3.yeah √ one\two\file1.txt -> one\two\file1.yeah √ one\two\file2.txt -> one\two\file2.yeah √ one\two\file3.txt -> one\two\file3.yeah √ one\two\three\file1.txt -> one\two\three\file1.yeah √ one\two\three\file2.txt -> one\two\three\file2.yeah √ one\two\three\file3.txt -> one\two\three\file3.yeah
ok, so basic recursion is working… using this
one/two/three folder structure can you send me a command which demonstrates it failing? Cheers!