[Libtorrent-devel] mv .torrent, mv data
Kārlis Repsons
karlis.repsons at gmail.com
Fri Oct 9 22:31:22 UTC 2009
Hi there!
Perhaps there is some way to make using rtorrent so easily and simply,
that there is even little need for using curses? It would be: automation, which
starts downloading the newly copied .torrent files of some specific actual_torrents_dir,
cleans up things, if they get deleted and moves both .torrents and files to other
folders after completion.
I was hoping, someone in here could have wanted and done it before me...
So:
1. automatically activate torrent files, which get copied into some folder;
2. automatically delete the corresponding data of those .torrent files,
which get deleted before download completes (and remove them out of rtorrent too);
3. move the completed .torrent files to another folder;
4. move the completed files to another folder;
Some pathetic efforts mine are here, but they don't even do the 1. this far:
schedule = watch_directory,10,10,"load_start=/path/to/actual_torrents_dir/*.torrent,d.set_custom2=1"
schedule = tied_directory,10,10,start_tied=
schedule = untied_directory,10,10,close_untied=
on_finished = set_done_var,d.set_custom2=
on_erase = rm_files,"branch=d.get_custom2=,\"execute={rm,-rf,--,$d.get_base_path=}\""
on_finished = move_complete,"d.set_directory=/path/to/ready ;execute=mv,-u,$d.get_base_path=,/path/to/ready"
Any help appreciated...
K.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://rakshasa.no/pipermail/libtorrent-devel/attachments/20091009/90b8d319/attachment.bin
More information about the Libtorrent-devel
mailing list