Return to Snippet

Revision: 50043
at August 5, 2011 00:07 by pspierce


Initial Code
find /vmfs/volumes/v02tstn02a01/ -type d | while read dir; do if [ ! -f $dir/*.vmx ]; then echo $dir; fi; done;

Initial URL

                                

Initial Description
found via google:
http://www.unix.com/unix-dummies-questions-answers/133697-find-folders-do-not-contain-certain-file.html

Initial Title
find directories that don't contain a file

Initial Tags
find

Initial Language
Bash