Skip to content

Instantly share code, notes, and snippets.

@toleillo
Last active December 31, 2015 03:09
Show Gist options
  • Save toleillo/7925338 to your computer and use it in GitHub Desktop.
Save toleillo/7925338 to your computer and use it in GitHub Desktop.
Fix bad codification filenames with special chars in GNU/Linux Distros.
1 - Install convmv package
Ex: Debian | sudo apt-get install convmv
2 - Rename invalid filenames and convert to UTF-8 encoding
find . -name '?' | xargs convmv -r --notest -f cp850 -t UTF-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment