I'm currently running Snow Leopard and I've hit a snag in my bash script. Part of it is using the 'find' command but apparently the '-daystart' flag is not supported in OS X.
Does anyone know of a workaround or an alternative?
-daystart
is a GNU extension not supported by BSD find. Hopefully, you can install the GNU version as well.
I'd suggest you install Homebrew or MacPorts. You can then install GNU find with brew install findutils
or port install findutils
.
It will add gfind
, which supports -daystart
.