- Telekom otthoni szolgáltatások (TV, internet, telefon)
- Agyi chipes gyártóba fektetett a kriptocég
- Linux - haladóknak
- DIGI internet
- Proxmox VE
- Kodi és kiegészítői magyar nyelvű online tartalmakhoz (Linux, Windows)
- WLAN, WiFi, vezeték nélküli hálózat
- Milyen NAS-t vegyek?
- Microsoft Excel topic
- Crypto Trade
-
IT café
ASUS WL-500G Premium
Új hozzászólás Aktív témák
-
Kovi71TM
tag
Üdv!
Tudnátok ebben segíteni?
Laikus számára érthető modon!RTORRENT: Automated Fast Resume/Hash Skip
dashboardy made a no hash script and i would like to thank him for that. i just updated his script and .rtorrent.rc for it to be automated. kind of like a watch directory for torrents that will be cross-seeded.
The steps below will be somewhat the same as the creator's. the script is just updated to loop through all the torrents instead of executing one by one manually. also, a line of code has to be added to .rtorrent.rc for it to run the updated script.
cd /bin
wget http://libtorrent.rakshasa.no/downloads/rtorrent_fast_resume.pl
chmod 755 rtorrent_fast_resume.pl
mv rtorrent_fast_resume.pl nh.pl*please note that for the perl script to work, you should also type the following if you haven't installed it previously
perl -MCPAN -e 'install Convert: Bencode'
create a file called 'skip_hash' or whatever you want to call it and put the lines of code below (inside the quote) and save it. just make sure it's the same name that you will put in the line of code that will be added in your .rtorrent.rc file below.
cd /bin
vi skip_hash
chmod 755 skip_hashQuote:
#!/bin/bash# Directory where torrents for cross seeding are located
CROSS_SEED_TORRENTS_DIR="/Torrents"# Directory where downloaded torrents data are located
DOWNLOADED_TORRENTS_DIR="/Torrents/Downloading/"# Directory where watch directory for torrents are located
WATCH_DIR="/Torrents/TorrentFiles/Auto/"# Flag to check if files exist
F_EXIST="false"cd $CROSS_SEED_TORRENTS_DIR
for file in ls *.torrent
do
if [ -e "$file" ] # Check if file exists.
thennh.pl $DOWNLOADED_TORRENTS_DIR <$file> $WATCH_DIR$file
F_EXIST="true"fi
doneif [ "$F_EXIST" == "true" ]
then
cd $CROSS_SEED_TORRENTS_DIRrm -r *.torrent
fi
*please take note of the directories specified in the script and change them according to the directory structure your rtorrent is using. check the trailing slashes '/' to avoid errors.update your .rtorrent.rc file with the line of code below
Quote:
# Skip hashing of torrents for cross seeding
schedule = cross_seed_directory,10,10,"execute=skip_hash"
if you have "execute_log" enabled in your .rtorrent.rc file, you can comment it out if you like because a friend of mine pointed out that rtorrent always logs the execution of external scripts like skip_hash so it may be better to comment this out to avoid the increase of your log file's size since we're running skip_hash often.start your rtorrent.
for this to work, it is assumed that you already have the data or have downloaded the data from another tracker and you want to cross-seed. just place the torrents to be cross-seeded or torrents to be skipped from hashing inside the "CROSS_SEED_TORRENTS_DIR" you specified and rtorrent will just load them for you without hashing. this will be helpful for uploaders from a lot of different trackers too.
[ Szerkesztve ]
Új hozzászólás Aktív témák
● Olvasd el az összefoglalót!
- Kerékpárosok, bringások ide!
- Egyre közelebb a Poco F6 startja
- Milyen CPU léghűtést vegyek?
- Milyen asztali (teljes vagy fél-) gépet vegyek?
- Mibe tegyem a megtakarításaimat?
- A fociról könnyedén, egy baráti társaságban
- OLED TV topic
- Kertészet, mezőgazdaság topik
- Sony MILC fényképezőgépcsalád
- Luck Dragon: Asszociációs játék. :)
- További aktív témák...