You can do
[0-9][0-9][0-9][0-9][0-9].png
题
I have a directory of images where I only want to .gitignore
a specific subset of those images that match the pattern
\d{5}.png
Namely, 01001.png
or 93002.png
, for example.
For some reason, I'm not able to find the gitignore pattern for this or the bash glob that doesnt say 'too many arguments'
解决方案
You can do
[0-9][0-9][0-9][0-9][0-9].png