Run The Unarchiver in every torrent that finishes
Run The Unarchiver in every torrent that finishes
Hello,
I am on MAC with TheUnarchiver already installed (and the last version of qbittorrent) and i want to know how can i run it every time a torrent finishes. Thanks
I want to automatically unrar every torrent that finishes.
I am on MAC with TheUnarchiver already installed (and the last version of qbittorrent) and i want to know how can i run it every time a torrent finishes. Thanks
I want to automatically unrar every torrent that finishes.
Last edited by willpower on Mon Dec 07, 2015 4:15 pm, edited 1 time in total.
Re: Run The Unarchiver in every torrent that finishes
Options -> Downloads -> Run program (assuming it exists in MAC versions)
Re: Run The Unarchiver in every torrent that finishes
But what do i have to type there? I don't know code :/
something like this maybe?
but i am not sure :/
something like this maybe?
Code: Select all
run the_unarchiver /%f/%n/*.rar /%f/%n/
Last edited by willpower on Mon Dec 07, 2015 4:46 pm, edited 1 time in total.
Re: Run The Unarchiver in every torrent that finishes
The parameters are case sensitive so should be in uppercase, and if there may be spaces in the text the parameter should be wrapped in quote marks, ie "%D"
But as to whether they are in the correct order for your application I have no idea, do some 'dummy runs' of directing the output to a text file so you can see what is being sent to the application.
But as to whether they are in the correct order for your application I have no idea, do some 'dummy runs' of directing the output to a text file so you can see what is being sent to the application.
Re: Run The Unarchiver in every torrent that finishes
Thank you.
Can i put everything inside "" ?
Like this:
This makes any sense?
Should i use / or \ ?
(i am hoping this will open .rar file with mac default app: the unarchiver)
Can i put everything inside "" ?
Like this:
Code: Select all
open "/%F/%N/*.rar"
Should i use / or \ ?
(i am hoping this will open .rar file with mac default app: the unarchiver)
Re: Run The Unarchiver in every torrent that finishes
Absolutely NOT!Can i put everything inside
Spaces are a command line delimiter, so are necessary between the parameters.
Re: Run The Unarchiver in every torrent that finishes
so, should i use this?
or this?
or this?
Code: Select all
open "/%F/%N/*.rar"
Code: Select all
open /"%F"/"%N"/"*.rar"
Code: Select all
open \"%F"\"%N"\"*.rar"
Re: Run The Unarchiver in every torrent that finishes
Bear in mind that %N (torrent name) may NOT relate to a valid path.
On MAC OS path separators are '/' so "%D/" would be correct
On MAC OS path separators are '/' so "%D/" would be correct
Re: Run The Unarchiver in every torrent that finishes
it doesn't work... nothing happens
Re: Run The Unarchiver in every torrent that finishes
What did writing to a text file show? CLI is
echo "%1" "%2" "%3" > path-to-a-text-file
(replace 1,2 & 3 with the actual parameters you expect to use)
I have no idea what "The Unarchiver" is, so have no clue as to what the command line structure should be.
echo "%1" "%2" "%3" > path-to-a-text-file
(replace 1,2 & 3 with the actual parameters you expect to use)
I have no idea what "The Unarchiver" is, so have no clue as to what the command line structure should be.
Re: Run The Unarchiver in every torrent that finishes
i did this:
but nothing happened... :/
The Unarchiver is my default compress/decompress files app.
Code: Select all
echo "%D/*.rar" > /Users/willpower/Desktop/qbt.txt
The Unarchiver is my default compress/decompress files app.
Re: Run The Unarchiver in every torrent that finishes
Applications and scripts do not normally have write permissions to the desktop on Linux and Mac.
Re: Run The Unarchiver in every torrent that finishes
i tried adding 'sudo' before, but nothing happens too.. :/
nobody here uses a Mac?
nobody here uses a Mac?