RuTorrent/rtorrent deletes data when removing torrent
09 June 2014
Just a quick one here:
I was having a problem with rutorrent. Whenever I clicked ‘remove’, it also deleted the data on the hard drive. This is a problem when you no longer want to seed something or it gets removed from the tracker, yet you want to keep the file itself.
My problem turned out to be with my rtorrent config. Easy to fix.
- Open
~/.rtorrent.rc
- Find this line:
system.method.set_key = event.download.erased,remove_files,"execute={rm,-rf,--,$d.get_base_path=}"
- Comment it out.
- Restart rtorrent.
Managed to dig up the line here1, and many thanks to sbh7600 on freenode’s #rutorrent for confirming the issue before I messed with anything.