I just moved fro mDebian to macOS after my laptop crashed. Luckily I was abele to salvage my .zshrc with my aliases, however, m two aliases that use "find" don't seem to work in macOS and I am not quite sure what the difference is.
The first command is supposed to move all files fro msubdirectories to the current directory and it worked flawlessly on debian:
alias mup='find -type f -exec mv {} . \;'
On macOS however I get a "find: illegal option -- t"
Similarly, to change the file ending from JPG to jpg I used
alias jprn="find -name '*.JPG' -exec rename "s/.JPG/.jpg/g" \{\} \;"
which results in another "find: illegal option -- n"
Unfortunately, the error is rather mysterious, so I don't even know where to start looking for a resolution, as all the handles seem to be correct based on man.
Any info or pointer would be much appreciated!
Thanks