Rename files according to the filenames given in a .torrent.
I heard a call:
This is somewhat of a digression, but since we’re in a place of mass renaming for most people I was wondering if there was a utility out there on box that would to that auto, for example, on tvt.com they have a utility where you select the .torrent file, select a folder, then the programs matches the files in the torrent to those in the folder by file size, (highlight those that have the same file size) and then gives one the option to rename them according to the names in the torrent, unfortunately it only works for tvt torrents. but if someone would like to take a look at it and perhaps tweak it i could upload it.
so I stole part of pyroscope and hacked up a simple script.
I have not tested this on any .torrent/directory combinations it should do any renaming on, so I’m just assuming it works! No testing on different OSs or versions of Python, either, so don’t expect much.
I think it likely I’ll make a super-simple gui for it, but the cli will remain.
Name unrelated: Nagi is a character from Hayate no Gotoku.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size nagi-0.1.tar.gz (3.7 kB)||File type Source||Python version None||Upload date||Hashes View|