Page 1 of 1

national characters removal

Posted: 07 Aug 2007, 09:05
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).

Posted: 07 Aug 2007, 11:40
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

Re: national characters removal

Posted: 14 Mar 2009, 10:42
by Jan Patera
Starting with the next version of Altap Salamander (AS2.52b2/2.52), the Batch Renamer plugin will support stripping of diacritics.