I wrote a little program in GNU #guile for renaming files in the directory of the program[1].

The idea of that script is to remove all special characters and remove diacritics (marks above letters). It is kind of opinionated, because as it is now, it should leave diacritics of Pinyin intact. This is because I learn Mandarin and want diacritics of Pinyin to be kept. But you could very easily adapt the code to not keep those.

#computerprogramming #coding #scheme

[1]: https://codeberg.org/ZelphirKaltstahl/renamer-script

renamer-script

This repository contains a script for renaming files.

Codeberg.org