When I run the following command from my script file it gives me:
find: missing argument to `-exec'
But the same command from the command line works normally:
find /home/poseidoncharters/poseidon_backup/*.sql -mtime +1 -exec rm -f {} \;
I run the script like ./myscript.sh