1
so I`m trying to do the following:
When rtorrent finishes download, it should copy files from download dir to another dir called uploads, so the file would be in Downloads dir AND in Uploads dir.
Before this I was using mv function to move file from Downloads to Uploads an here is a working example so you could understand rtorrents syntax:
system.method.set_key = event.download.finished,move_complete,"execute=mv,-u,$d.get_base_path=,~/uploads/"
This is working preview it executes "mv -u /home/downloads/folder1/ ~/uploads/, so basically it moves the torrent with the same name just to another dir.
The thing I do NOT get it how can I copy files (folders and files, depending on what Im downloading) with the same name, lets say:
/home/dl/harry potter/ ------> /home/ul/harry potter/
and next one could be
/home/dl/ubuntu.iso ------> /home/ul/ubuntu.iso
2You should try posting this on SuperUser.com, SO's sister site. – indyK1ng – 2011-01-14T05:37:05.193
Also, use softlinks for goodness sakes. – TomMD – 2011-01-14T05:56:53.440
what`s softlinks? – None – 2011-01-16T19:46:59.530
@Treat - a 'softlink' is a symlink.
– boehj – 2011-05-01T13:35:49.800