Jump to content

Rename a file according to a filter


Recommended Posts

eMule has a nice little feature that lets you automatically rename files you click on. This is useful to replace '.' with a space, or delete information you don't want on there like PROPER or the group name. Basically so it's more readable. Any chance of getting a similar feature in uTorrent?

Link to comment
Share on other sites

i however would like to see a feature to be able to reneme files in directory torretns and still be able to seed than. With Root directory (single) files with the "set download location" procedure it is possible.

Having this on mulitfiles possible would be great.

Example: you have a multifiletorrent like this:

"Great CC content show S01E01 unnessesary bla bla"

"Great CC content show S01E02 unnessesary bla bla"

"Great CC content show S01E03 unnessesary bla bla"


When i rename the files on the harddrive to get rid of the unnessesary bla bla µtorrent can not seed that torrent anymore.

The renaning thru "set download location" can't handle THIS situation but the single file situation works perfectly.

Would be great if this will be possible in further releases to keep stuff in the seeding queue.

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 years later...

This is well worth looking into. One reason for this is to sanitize file/folder names to fit various filesystems without a lot of clumsy escapes (this becomes far more of an issue when, as I do, you are dealing with files with multiple operating systems. I deal with them in Windows, Linux, and Cygwin, which is enormously useful, but which brings this problem very much front and center).

Even more, when filenames aren't UTF-8 (or can't be made to be), things get really hairy. I've had some interesting tangles with Japanese files, for instance.

If it's a real problem to approach this with some sort of mapping database between arbitrary filenames and torrents, perhaps something conceptually similar to URL escapes, that is, expressing characters outside the confines of operating system filesystems with %XX, where XX is a character's hexadecimal value. There are other similar approaches, but that's the basic idea, to be able to convert any UTF-8 character to something that itself consists of only characters that do (in this case, UTF-7, even).

Rulesets for various OS filesystems could be created and user-adjustable in the Advanced setup.

It might be necessary to get more creative for charsets other than these (Japanese, Cyrillic, other ISOs), but I'm sure it can be done. I'd be happy to throw in what I could in the way of some code for the purpose, at least for a starting-point.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...