根据.torrent中给出的文件名重命名文件。

nagi的Python项目详细描述


我听到一个电话:

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.

所以我偷了一部分pyroscope 并编造了一个简单的脚本。

我没有在任何.torrent/目录组合上测试过它应该 做任何重命名,所以我只是假设它工作!没有测试 不同的操作系统或python版本,所以不要期望太高。

我想我可能会为它制作一个超级简单的gui,但是cli会 留下来。

名称无关: Nagi是 海耶特的角色没有歌谷。

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
数组Java For Loop没有输出(我认为)它应该如何输出   java Maven可以在一个模块中打包两个jar,使用相同的文件名但不同的图表集吗?   java OData读取单个实体最佳实践   java为什么我的代码在以下条件下返回false?   java QueryDsl投影元素集合   在为Java Swing元素实现ActionListener时,如何解决静态引用错误?   libGDX设置允许我使用java8,它在Android中崩溃   如何将日期从shell脚本传递到java即时数据类型   java如何向JList添加复选框和图像   java如何编写这个Listview?   java Eclipse每项目构建设置   java如何将spring引导应用程序指向外部jar的logback。xml   java更改EditText的下划线/样式。。。。。不是链接,而是水平滚动文本   java JPQL:使用复合键建模具有多个关系的查询实体   javascript如何获取Java中的最后32个字节   sql检查Java Derby中是否存在架构   java如何从视图中获取MVC Spring控制器中jstl select的所有项   java gson在需要对象时遇到空数组问题