Ok this one has stumped me. I want to run an shell script within an Applescript.
This is to filter out any torrents in the Downloads folder and copy them to another folder (the folder that Transmission is watching). But it keeps giving syntax problems having to do with the "\" and the ")". Anyone see my mistake or have any input? Thanks!
Code:
do shell script "find ~/Downloads \( -type f -name "*.torrent" \) -exec cp {} ~/Torrents \;"
This is to filter out any torrents in the Downloads folder and copy them to another folder (the folder that Transmission is watching). But it keeps giving syntax problems having to do with the "\" and the ")". Anyone see my mistake or have any input? Thanks!