Hi, can somebody tell me how to execute 2 commands after the torrent download finished in the built in form?
/home/stipy/.filebot/filebot-portable/filebot.sh -script fn:amc --output "/home/stipy/torrents/downloads/finished/" --action duplicate -non-strict "/home/stipy/torrents/finished/" --log-file /home/stipy/filebot/amc.log --def excludeList=/home/stipy/filebot/amc.txt && /home/stipy/torrents/unrar.sh
this && doesnt work for me.
Thx
more than one command after torrent gets finished
Re: more than one command after torrent gets finished
Simply make a new .sh file, make it executable (chmod +x whatever.sh) and then add these commands into that.
Like:
The file contents:
And then in qBittorrent you simply call this "whatever.sh" file instead of that long line. Easy.
Like:
Code: Select all
$ touch ~/whatever.sh
$ chmod +x ~/whatever.sh
$ nano -w ~/whatever.sh
Code: Select all
/home/stipy/.filebot/filebot-portable/filebot.sh -script fn:amc --output "/home/stipy/torrents/downloads/finished/" --action duplicate -non-strict "/home/stipy/torrents/finished/" --log-file /home/stipy/filebot/amc.log --def excludeList=/home/stipy/filebot/amc.txt
/home/stipy/torrents/unrar.sh