/ Published in: Bash
found via google:
http://www.unix.com/unix-dummies-questions-answers/133697-find-folders-do-not-contain-certain-file.html
http://www.unix.com/unix-dummies-questions-answers/133697-find-folders-do-not-contain-certain-file.html
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
find /vmfs/volumes/v02tstn02a01/ -type d | while read dir; do if [ ! -f $dir/*.vmx ]; then echo $dir; fi; done;