Search found 3 matches
- Wed Nov 16, 2016 7:38 pm
- Forum: Plugins
- Topic: Post your execute plugin scripts!
- Replies: 47
- Views: 381220
Re: Post your execute plugin scripts!
yes, of course. No problems when i manually execute the script using the " to the parameters: e.g. ./execute_script.sh 4e1a68ece3c098b16fd1783d106cfade5facaff7 "Just downloaded torrent" "/the/absolute/path/where/to/save/all my torrents/" The matter is Execute plugin calls th...
- Tue Nov 15, 2016 11:04 pm
- Forum: Plugins
- Topic: Post your execute plugin scripts!
- Replies: 47
- Views: 381220
Re: Post your execute plugin scripts!
hi mherts, thank you for your feedback. Maybe my previous post wasn't so clear. I'm talking about the case when the torrent name (received as parameter by execute plugin) has space inside: Example: When deluge finish to download a torrent named as "Just downloaded torrent", it will activat...
- Tue Nov 15, 2016 12:47 pm
- Forum: Plugins
- Topic: Post your execute plugin scripts!
- Replies: 47
- Views: 381220
Re: Post your execute plugin scripts!
Hi guys, thank you for your great work. I'm trying to write an execute script. i've a question: what about the spaces inside the torrent name? this is my simple code: #!/bin/bash torrentid=$1 torrentname=$2 torrentpath=$3 finalpath=$torrentpath/$torrentname echo $finalpath If torrent name is such a ...