Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So there is a directory full of torrent files:


I can start downloading them with a:

rtorrent *.torrent

command, when the working directory is the same where the torrents are.

But. Every time when I start rtorrent in this way it calculates all the hashes..it takes looong time do to that and it's a cpu intensive thing.

Are there any methods to avoid this? (other console-based torrent client? or a feature to add a single torrent when already downloading a torrent without calculating all the torrent's hashes?)

share|improve this question
up vote 6 down vote accepted

You can set up a "session directory" so that some data is stored and, when you exit rtorrent cleanly, you can open it without going through the hashing.

According to the manpage, this can be done using the -s path option, so -s ~/torrentdir would use that as session directory. But you probably want to set this through ~/.rtorrent.rc so that you don't have to specify it all the time.

(Sorry for the lack of a working example, I don't have a computer with rtorrent set up near me right now.)

Corrected the .rtorrent.rc file name.

share|improve this answer
The configuration file is ~/.rtorrent.rc, not ~/.rtorrentrc. – Chris Down Mar 17 '12 at 16:39

If I understand you correctly, you want to add a single .torrent while running rtorrent - just hit Bksp and type the path to the torrent and hit Enter. It is possible mess around with the hash* settings in .rtorrent.rc to change values for how often hash calculations should be made etc. but be careful if you don't know exactly what you're doing.

share|improve this answer

If you know that the files are correct and don't want to calculate the hash, you need to add fast resume data. The relevant rTorrent wiki page documents how to do this.

share|improve this answer
# Watch a directory for new torrents
schedule = watch_directory,5,5,load_start=/var/torrents/todo/*.torrent

# actions
system.method.set_key = event.download.finished,move_complete,"d.set_directory=/var/torrents/done/;execute=mv,-u,$d.get_base_path=,/var/torrents/done/"

now just put the file in /var/torrents/todo/ when it is done, it will get moved to /var/torrents/done

share|improve this answer
How does this avoid the hash check? – jasonwryan Nov 30 '12 at 7:36
Well, his title asks how to do this. – chovy Nov 30 '12 at 17:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.