First of all, i'm sorry if this topic isn't in the right place, I have a Mac and I've read that is unix based, that's why I'm writing here.
I'm trying to "create" a script with which i will be able to download any Tv Show automatically and then rename it.
I'm using for that goal the following programs:
- Tv Shows 2, which allows you to automatically add to your torrent app torrents of the new episodes of the tv shows you are subscribed.
- Filebot. A renamer which uses thetvdb to get the name of the episodes.
- Transmission. Torrent client
I've been searching and I found that if make transmission to execute a script after downloading each torrent, I will be able to do what I like. And seaching again, I found that the script that will tell filebot to do that is something like this:
filebot -rename "$TR_TORRENT_DIR/$TR_TORRENT_NAME" --db thetvdb -non-strict
My question, so, is the following: How do I create a script that can do that?
Thank you very much and sorry again if it is misplaced.