This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Original by LEXO, http://www.lexo.ch | |
# Link: https://www.lexo.ch/blog/2013/01/linux-bash-shell-script-for-recursively-converting-all-files-with-various-charsets-in-a-directory-into-utf-8-shell-skript-fur-das-rekursive-konvertieren-von-allen-files-in-einem-verzeichnis-mit-belie/ | |
# Changed by Johannes Berdin, http://johannesberdin.de | |
# for running under Mac OS X | |
# | |
# Version 1.0 | |
# | |
# This bash script converts all files from within a given directory from any charset to UTF-8 recursively |