remotely running find -exec options
- by Michael Merchant
I'm trying to setup a bash process for deploying my django project onto a linux server.
Through cygwin, I'm running a script that is calling scp to copy my files over. Is there a similar command to delete *.pyc files. As of now, I've only been able to accomplish this locally after using ssh with:
find . -name "*.pyc" -exec rm -rf {} \;
I'm looking for some kind of command to call remotely that would be equivalent.