Search for directories that don’t contain a file we set in options. In our case are .vmx files.
find /vmfs/volumes/v02tstn02a01/ -type d | while
read dir; do if [ ! -f $dir/*.vmx ]; then
echo $dir; fi; done;
Search for directories that don’t contain a file we set in options. In our case are .vmx files.
find /vmfs/volumes/v02tstn02a01/ -type d | while
read dir; do if [ ! -f $dir/*.vmx ]; then
echo $dir; fi; done;