I found this code originally from another shell script on the web.
I just tried running it without the | /bin/sh and the shell showed the cp command, but nothing was actually copied...
The output was like the following:
cp -f /home/searchfeed.php /var/www/web35/web/site_source_aaaafa4/myfolder
Despite this output the file was not copied! Note, I'm trying to overwrite an existing file with a new version - perhaps I need to provide a command to remove this old file first?
I'm hesitant to do this only because I don't want to accidentally erase other files......