1. Recursively search down from root directory "\" (these are Windows directories, so I should be able to specify directory in an argument) until bottom leaf folder(s). If ANY of the folders contain a (*.mp3 *.wma *.aac *.ogg *.m4a *.wav *.midi *.flac *.mp4), skip. Else, print empty folder's directory path.
And if you get the chance..
2. Recursively search down from root directory "\" for folder and print directory path of duplicates that match the regex = "any char, 7-in-a-row". If folder is less than 7 chars long, use match on folder name length.
I would like the recursive search to be done one directory leaf at a time, as according to the file tree in the image this attached in link. Got it? I can explain in further detail.
It'd be nice if it could be written in batch, VBS, Perl, Python, or Java/Groovy. This is what I practice and I am looking forward to improving my scripting abilities based on your work!
Last edited: