Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

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

This version
History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
nagi-0.1.tar.gz (3.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page