remotely running find -exec options
Posted
by
Michael Merchant
on Server Fault
See other posts from Server Fault
or by Michael Merchant
Published on 2010-12-23T23:46:30Z
Indexed on
2010/12/23
23:55 UTC
Read the original article
Hit count: 390
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.
© Server Fault or respective owner