I have a folder filled with approximately 5000 folders. I want to search within all these folders for folders beginning with numbers ie 089781 or 03828 for example.
What kind of regular expression could i use to do this?
Also im on windows and was planning to use the 'grepWin' program.
Help much appreciated
Easy on Unix / Cygwin;
find . -type d -name '[0-9]*'
You can probably find find
ported to your platform.
That's just a glob, not a regex, btw.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.