These are utility Bash shell scripts I use.
Automatic Translation with the DeepL API translate.sh
The purpose of this script is to automatically translate all en.md files in a folder hierarchy where a fr.md file does not exist in the same folder. It takes as a convention that any same content of the folder exists in both English in a "en.md" file and in French with a "fr.md" file. It takes the language paramters in lowers as follow:
translate.sh en fr for English to French and
translate.sh fr en for French to English. There translate.sh script is here. For now, the API key is hard-coded into the script and must be changed manually.
Automatic Indexing index.sh
This index.sh script is built with the intention of creating a folder "index" and placing a Markdown file in that folder with an index to the contexts of that folder, following the en.md/fr.md convention. It takes as a parameter the langue for which it is constructing an index: en or fr:
index.sh en or
index.sh fr. It will erase
./index/fr.md files relative to where index.sh is called.
VIMRC Maintenance Scripts
I also have a script for uploading changes to my vimrc and a script for downloading changes form my vimrc script. Documentation is to come.