Rename files according to the filenames given in a .torrent.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file nagi-0.1.tar.gz
.
File metadata
- Download URL: nagi-0.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 839c7cd6ca44ee16d01b16a9f7fe98c8a5757a2c45fe9560fc9c077f03cefbcd |
|
MD5 | 975d2561344b4db7eea3e4f438930854 |
|
BLAKE2b-256 | b1c70b8ccebb7ca4b228ab43608ec2dfd3b294eeaf2de730d81482e66327d4b8 |