Alright , basically im running rtorrent client and i have a task in rtorrent to auto extract any downloaded torrent that is packed in rar.
Code:
system.method.set_key = event.download.finished,unrar_on_completion,"execute=unrar,e,$d.get_base_path=,~/downloads"
As you can see ,
Code:
"execute=unrar,e,$d.get_base_path=,~/downloads"
I can execute shell commands.
Now the problem is that many of the extracted rar files have a badly formatted name which is bad for me. I would like to rename the extracted file to the name of the directory they were extracted from.
So i would execute a script that unrars and then renames.
Is this doable or am i asking too much?
Thanks