national characters removal

We welcome any suggestions for new features or improvements in Altap Salamander. Please post one suggestion per report.
zvrastil
Posts: 1
Joined: 07 Aug 2007, 08:58

national characters removal

Post by zvrastil »

It would be great to have a command, that would go recursively through the directory structure and rename all files and directories so it does not contain any space or national characters.
Ideal state - replace space with _ and national character by the most appropriate ascii character (like č -> c, á -> a...).
Acceptable state - replace space and national character by _, adding some numerical suffix if needed to prevent name collision.
It would be REALLY great, if this could work also when the national environment is not available (files with czech names on english windows).
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Post by Jan Rysavy »

Thank you for this idea, we have it on our to-do list.

Workaround:
1. select files and directories and start Plugins > Renamer > Batch Rename
2. turn on Rename Relative Path and Remove Emptied Directories
3. turn on Include subdirectories and Manual Mode
4. copy displayed text (files and directories names) to clipboard and save it to file
5. strip national characters using Salamander (Internal Viewer or Files > Convert command)
6. bring new names to Renamer window
7. click the Rename button
Jan Patera
Plugin Developer
Plugin Developer
Posts: 707
Joined: 08 Dec 2005, 14:33
Location: Prague, Czech Republic
Contact:

Re: national characters removal

Post by Jan Patera »

Starting with the next version of Altap Salamander (AS2.52b2/2.52), the Batch Renamer plugin will support stripping of diacritics.
Post Reply