LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-10-2007, 08:02 AM   #1
Calab
Member
 
Registered: Oct 2003
Location: Calgary, AB, Canada
Distribution: CentOS, Ubuntu
Posts: 60

Rep: Reputation: 2
rtorrent - Move when download completes. Move again after seeding completes.


I'm using rtorrent on my Debian system. It works great.

Currently, the downloading torrents go to one directory. Once the download is completed, the file is moved to another directory and continutes to be seeded. Once the file has been seeded 500% the torrent is closed.

The relevant part of my rtorrent.rc file:
Code:
# Download directory:
directory = /downloads/rtorrent/incoming/

# Move completed downloads
on_finished = move_complete,"execute=mv,-u,$d.get_base_path=,/downloads/rtorrent/downloaded/ ;d.set_directory=/downloads/rtorrent/downloaded/"

# Stop torrent once they have a ratio of 5:1 and a minimum of 500meg, or 20:1
schedule = ratio,60,60,"stop_on_ratio=500,500M,2000"



I'd like the files, once they've finished seeding, to move to a third directory at this point.

I'd also like a fourth directory for files that I start seeding without downloading. Once they hit their target amount, they should be stopped and moved to a fifth directory:

So I'd have the following directories:

/downloads/rtorrent/incoming (for files still coming down)
/downloads/rtorrent/downloaded (for files downloaded 100%, but still seeded)
/downloads/rtorrent/completed (for files downloaded and finished seeding)
/downloads/rtorrent/seeding (for files that I seed only)
/downloads/rtorrents/done_seeding (for files that I only seeded and they have met their target amount)


What do I need for my rtorrent.rc file do accomplish this?

Last edited by Calab; 11-10-2007 at 08:03 AM.
 
Old 01-29-2009, 02:47 AM   #2
Om3n
LQ Newbie
 
Registered: Sep 2003
Posts: 4

Rep: Reputation: 0
Hi old topic sorry for bumping it but I would like a solution for this aswell, maybe someone knows one year later?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
After reboot of client PC popa3d no longer completes MQMan Linux - Software 2 12-20-2007 06:18 PM
Writing to HTML document after loading completes dlublink Programming 4 09-13-2006 09:53 AM
What's next after netinstall completes techlover Debian 2 12-12-2005 03:35 PM
Download completes in Firefox but cant save to disk Commando464 Fedora 1 01-29-2005 10:26 PM
Hanging in INIT after kernel completes gjraju Linux - General 0 01-03-2005 08:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration