Last active
December 15, 2015 00:19
-
-
Save revolunet/5172377 to your computer and use it in GitHub Desktop.
rename all files/dir without special characters...
This file contains hidden or 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
| find . -name '*è*' | sed 'p;s/è/e/' | sed 's/.*/"&"/' | xargs -n2 mv | |
| find . -name '*é*' | sed 'p;s/é/e/' | sed 's/.*/"&"/' | xargs -n2 mv | |
| find . -name '*ê*' | sed 'p;s/ê/e/' | sed 's/.*/"&"/' | xargs -n2 mv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment