Tool to match torrents/magnets with local files automatically and instantly

Author: slrslrCreated Mar 15, 2017Updated Sep 29, 2026
LabelsFeature request

It would bring torrent to the next level if torrent client is aware of my HDD structure (file/folder names, maybe even "file hashes") and when i add torrent/s, then torrent client will search its internal database/index of my HDD contents and match my local files to thee torrent payload files preventing duplicity and greatly saving time finding data, renaming payload or HDD file to match torrent payload files structure.

Software like Everything (Windows) or FSearch (Linux) are indexing millions of files and in maybe 1 second return files that match the name entered.

  • torrent client will offer me one or more save paths where it found target files or files with same "hash" without me spending time searching and checking files. I can select the SavePath under which to consolidate move the matching payload files it will offer paths where are already downloaded/matched files or custom/default save path where will be then placed remaining files. Not sure if creating symbolic links would be good)
  • torrent client will maybe even use files from different directories as a source for one torrent payload files
  • torrent client will match files which file name is different than the torrent's file name.
  • the file indexing can be paused/resumed by user, computer reset/suspend will not break it. User can select multiple folders on multiple drives which will be indexed
  • indexing runs with low CPU, IO priority
  • torrent client will hash newly found files regularly, upon start (some clients does not restart often), or on request.
  • if external drive is disconnected and some monitored directory is not available, torrent client will ask user to verify the file index configuration instead of deleting big portions or whole hash database just because ext. drive forgot to be connected
  • when migrating windows/linux, user should be able to update paths (maybe just making the database a non-binary/text file where search and replace can be used) so no need to re-hash terabytes of data again

Libtorrent issue: https://github.com/arvidn/libtorrent/issues/2838

Match torrents and data, remove torrents based on data, cleanup your disk for unseeded files. Autotorrent2 python script: https://github.com/JohnDoee/autotorrent2?tab=readme-ov-file#autotorrent2