Renaming long fille names

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
aardvark
Junior Member
Junior Member
Posts: 8
Joined: 2005-05-01, 17:37 UTC

Renaming long fille names

Post by *aardvark »

Good evening
Is there anyway in total commander to rename multiple long file names and directories automatically.

Many thanks

Johnathan
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

How do you want to rename them? You can use Multi-Rename tool to add counters, cut parts of names etc.
aardvark
Junior Member
Junior Member
Posts: 8
Joined: 2005-05-01, 17:37 UTC

Post by *aardvark »

Hi MVV

I can do all of that.

My problem is that I download a whole dvd of files in directories.

When I try and burn them the burning program does not do the one with the really long file names.

The max length is 255 characters which also includes all the directories.

I wold like to truncate all the file names and directories to less than that.

Many thanks

Johnathan
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I think you should have some idea how to safely rename files w/o breaking functioning. Of course TC (or any other software) can't decide for you how to rename all files in such way.

If you know any scheme of renaming files you can try to apply it with MRT. E.g. you can truncate every long name up to 32 characters using N[1-32] template. In order to apply it to all files you can use branch view Ctrl+B in order to select all files, or you can do search and feed results to panel: this way is more flexible since you can rename both files and folders, and e.g. which are longer than 32 characters using regex .{32}.

BTW, there are filesystems that support long names and deep paths for DVDs: there are UDF system and also extensions to ISO9660 allowing long names and large files (such disks may be incompatible with DVD players but there are no problems with PCs).
Post Reply