Split up incoming files to 4 folders

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Split up incoming files to 4 folders Wed Mar 01, 2017 7:42 am • by mcfrojd
My goal is to have a main folder where my xxxxxxx.torrent files gets downloaded to.
After that i would like to move these files into 4 diffrent folders. (4 diffrent download servers)

So lets say there is 6 .torrentfiles downloaded at the same time.
These gets downloaded to the "main" folder

"MainFolder"
a.torrent
b.torrent
c.torrent
d.torrent
e.torrent
f.torrent

Then i would like these files to be moved like this:

"Server1"
a.torrent
e.torrent

"Server2"
b.torrent
f.torrent

"Server3"
c.torrent

"Server4"
d.torrent

and next time there is, lets say 2 .torrent files downloaded, then they end up in:

"Server3"
g.torrent

"Server4"
h.torrent

Is this something thats is possible to do?
I guess there is some script & variable way to get there.

Main reason for this is to be able to use more bandwith with vpn downloads.
With my vpn provider i get like 50Mb/s per connection (i can have 5 simultaneous connections), and since i have a 500Mb/s connection i would like to use 4 diffrent raspberry pi vpn download servers to use more bandwith.
mcfrojd
 
Posts: 11
Joined: Fri Nov 19, 2010 5:31 am

Re: Split up incoming files to 4 folders Wed Mar 01, 2017 11:50 am • by Mr_Noodle
I'm not clear on the logic on how the files are distributed. If you are trying to distribute the files evenly then you'd definitely need a script for that since that's pretty specialized logic.
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Split up incoming files to 4 folders Wed Mar 01, 2017 12:19 pm • by mcfrojd
Evenly was how i was thinking, but maybe i'll distribute them based on torrent tracker instead, since i have no scripting skills.
mcfrojd
 
Posts: 11
Joined: Fri Nov 19, 2010 5:31 am


Return to Support