From the top level directory where the home directories are stored - old school CMD prompt action...
dir *.mp3 *.swf /s /b | find /i /v "\ICT Work" | find /i /v "\Music Work" > badlist.txt
Edit - just noticed the vice versa - for this one you'd have to use three lines...
dir *.mp3 *.swf /s /b | find /i "\ICT Work" | > goodlist1.txt
dir *.mp3 *.swf /s /b | find /i "\Music Work" | > goodlist2.txt
type goodlist1.txt >> goodlist2.txt
Goodlist2 would end up being a joined list of everything found in ICT Work + Music Work.



LinkBack URL
About LinkBacks
Reply With Quote
