|
I modified the Replace spaces with underscores tool to strip non-web-safe characters from filenames.
The tool will keep the comments of renamed files, and adds the original filename without the extension at the end of the the comment. If not found it makes a new comment to save the original filename.
The tool will also replace the spaces with underscores, but this can be easily removed from the replacement vector. Remove the last r.add(); line.
The foldernames are kept untouched. I did not know how to do that, and was afraid to render the album unusable, e.g. renaming the output folder.
If two files differ only in the accented/extra characters the second file will not be processed.
Please take care before using - do a backup first, as no undo is possible. And no warranty is provided.
(Save the attached file into the JAlbum/tools folder, choose the Image directory and start: Tools/Replace non-web-safe)
|