rakshasa/rtorrent — pull request #45 by SineSwiper (2012-03-25 21:03:20+00:00)
Title: New rtorrent_fast_resume script

This new RFR script features:

* Accepts in/out file specs, instead of relying on < >. Older mode still works, though.
* The prompts will tell you which stage it's at for better debugging.
* Uses Convert::Bencode_XS, which is C-compiled and much faster than Convert::Bencode. The latter would choke on a 1MB torrent for around 10-20 seconds before coming back. The XS version is near instant.
* Adds some additional libtorrent/rtorrent metadata keys to completely re-enforce the fact that this is a finished torrent. This also includes changes to priority (Don't Download, so that it doesn't try to clobber files) and directory specifications (so that there's no need to move the directory after starting, potentially causing an overwrite nightmare).

Also, I added torrent_data script to peek at torrent contents. Simple but effective.