mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-18 08:02:29 +00:00
Add version of move on complete that avoids errors with cross device moving/hashing
@@ -70,6 +70,16 @@ When the torrent finishes, it executes ``mv <base_path> ~/Download/`` and then s
|
||||
method.insert = d.move_to_complete, simple, "d.directory.set=$argument.1=; execute=mkdir,-p,$argument.1=; execute=mv,-u,$argument.0=,$argument.1=; d.save_full_session="
|
||||
method.set_key = event.download.finished,move_complete,"d.move_to_complete=$d.get_data_full_path=,$d.get_finished_dir="
|
||||
|
||||
If you need to move torrent data across disks/partitions on completion then you may find this version helpful to avoid hash check failures
|
||||
|
||||
.. code-block::
|
||||
|
||||
method.insert = d.get_finished_dir, simple, "cat=~/Download/,$d.custom1="
|
||||
method.insert = d.get_data_full_path, simple, "branch=((d.is_multi_file)),((cat,(d.directory))),((cat,(d.directory),/,(d.name)))"
|
||||
method.insert = d.move_to_complete, simple, "execute=mkdir,-p,$argument.1=; execute=cp,-rp,$argument.0=,$argument.1=; d.stop; d.directory.set=$argument.1=; d.start;d.save_full_session=; execute=rm, -r, $argument.0="
|
||||
method.set_key = event.download.finished,move_complete,"d.move_to_complete=$d.get_data_full_path=,$d.get_finished_dir="
|
||||
|
||||
|
||||
Move completed torrents to a dynamic location
|
||||
------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user