Answer the question
In order to leave comments, you need to log in
Utorrent, torrents files and transferred downloads?
After a huge cleaning and ordering on the server, as a result, I have a couple of hundred torrents lying on their own and the files previously attached to them, scattered throughout the raid. And there are less than a dozen files left to be distributed, the rest, of course, gives errors. Is there a utility capable of finding the corresponding files on the disk for a torrent or a utorrent data file and restoring their distribution? Group editing, as described in the facts on the rutracker, is not suitable, because. all files were transferred not in groups, but each in its own place.
Many thanks to all who responded! It's a pity for the disappearing wide channel.
Answer the question
In order to leave comments, you need to log in
if the server is under Linux, then you can take a little steam with the bash-script according to this algorithm
. We do find all files with the name *.torrent and for each of them:
1. We pull out the names of the original files from the torrent. To simplify, you can take the first name of the first file or folder and fill in the rest (provided that the files within the same torrent moved all together). You can pull it out using, for example, this project: torrentparse.berlios.de/
2. Do find by the name of the first file and do mv *.torrent to where this file is
3. Move on to the next file
#!/bin/bash
find . -name * .torrent -print0 | while read -d $'\0' torrent
do
# extract original file name from $torrent file $file
dirname = ` dirname " $file " `
mv $torrent $dirname
done
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question