[Libtorrent-devel] trigger moving of completed torrents
Ævar Arnfjörð Bjarmason
avarab at gmail.com
Sun Aug 8 12:56:52 UTC 2010
On Sun, Aug 8, 2010 at 12:26, Lasse Kliemann
<lasse-list-rtorrent-2010 at mail.plastictree.net> wrote:
> I followed the instructions on the website to have completed
> torrents be moved to a separate directory, thus I use:
> system.method.set_key = event.download.finished,move_complete,"execute=mv,-u,$d.get_base_path=,~/data/.complete/;d.set_directory=~/data/.complete/"
> where '~/data/.complete/' is that separate directory.
> This works fine for torrents that complete recently. But it does
> not seem to affect those which had already completed before (that
> is, before I put that line in my configuration file). Is there a
> way to trigger the moving also for those? I would like to have
> everything that has been completed in that directory.
The system.method.set.*event is, as the name implies, event based. It
can't trigger events for things that happened in the past.
> Then I have another question: do torrents that have been moved by
> this mechanism stay available for being downloaded by others?
> (Don't know what this is called exactly, maybe staying 'open'.)
> If not, can this be configured? I'd like to keep everything
> available for anyone.
I don't know what you mean.
More information about the Libtorrent-devel