![]() |
This script is going well but i have noticed one problem. I am running a launch daemon to run the script every hour but i can see through some logs that it is also searching through network volumes as well.
the name of local disks are all different and upper case. I have found scutil --get ComputerName outputs the computer name correctly in the correct upper case but i am unsure how to pass this on to the find command. If anyone can help this would be great. |
got it working
I found i have to use the -mount to search the local disk only as i have found that some machines are kernel panicking.
So the command is find -x / -mount -iname '*.app' -group 513 :D |
I still don't see why you don't use local MCX?
|
| All times are GMT -5. The time now is 05:52 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.