Hi All,
I am using this bash script to find, and report on a file i need found on my managed computers.
!/bin/sh
findFile="Illegal.mp4"
myFile=mdfind $findFile
if [[ -n $myFile ]]; then
echo "<result>FOUND</result>"
exit 99
fi
exit 0
I found it in this thread
https://www.jamf.com/jamf-nation/discussions/8639/best-way-to-find-a-file-on-managed-computers
My question is can I put multiple file names into this or is there abetter way to go about this? I need to find if around 20sih JPGs are on local machines here.
Thanks
Nick