February 5, 2010 9:20 PM
Posted by: Dan O'Connor
find,
snap shot,
snapshot,
sort,
uniq,
unix,
vmware,
wcUsing find to locate vm's with snapshots is easy.
`find /vmfs/volumes/ -type f -name "*00*.vmdk" | awk -F "/" '{print $1"/"$2"/"$3"/"$4"/"$5 }' | uniq`
Find is just not limited to locating the files but it is able to preform actions on it. Using the `-exec` allows any command to...
February 3, 2010 11:20 AM
Posted by: Dan O'Connor
find,
snap shot,
snapshot,
sort,
uniq,
unix,
vmware,
wcLocating VM's with snapshots on a datastore is easy if you know how to use the find command.
`find /vmfs/volumes/ -type f -name "*00*.vmdk"` Will look through the /vmfs/volumes/ looking for files with names that match the providedĀ pattern.
More specifically the folders those files are stored...