I have a few small script changes to share. My machine is on a corporate network that filters pings, so I've added a second way to check network connectivity. Also, I use the Homebrew's version of 'find' that I place ahead in my PATH, and that version complains of the ordering for -maxdepth. Putting the -maxdepth argument before -iname works for both GNU find and BSD find.
I have a few small script changes to share. My machine is on a corporate network that filters pings, so I've added a second way to check network connectivity. Also, I use the Homebrew's version of 'find' that I place ahead in my PATH, and that version complains of the ordering for -maxdepth. Putting the -maxdepth argument before -iname works for both GNU find and BSD find.