Utorrent, torrents file and moved the downloaded files?

After a big clean and organize on the server have ended up with a few hundred torrents, lying by themselves, and the files previously attached to them scattered throughout the RAID. And to be heard less than a dozen files, the rest, of course produces errors. Is there any utility able the torrent or data file uTorrent, find the corresponding disk files and restore the distribution? Group editing, as described in the FAQs on rutracker not suitable, because all the transferred files are not groups, but each to his place.

All responded many thanks! Sorry for disappearing wide channel.
October 8th 19 at 01:13
1 answer
October 8th 19 at 01:15
if a server under Linux, you can warm up with a little bash-script for this algorithm

Do a find of all files with the name *.torrent and for each of them:
1. Pulled out of the torrent names of the original files. To simplify we can take the first name of the first file or folder and the rest to score (assuming that the files within the same torrent moved together). Pull using, for example, this project: torrentparse.berlios.de/
2. Do find the name of the first file and do mv *.torrent to where the file is
3. Go to the next file

#!/bin/bash
find . -name *.torrent -print0 | while read -d $'\0' torrent
do
    # pull out from a file $torrent name originalnogo file $file
    dirname=`dirname "$file"`
    mv $torrent $dirname
done


code not tested, just an idea

Find more questions by tags BitTorrent