Created
May 18, 2020 10:19
-
-
Save nguyentienlong/0ace5846f38e36408995eecf13ffcda4 to your computer and use it in GitHub Desktop.
remove special char in filename
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
for file in *; do mv "$file" $(echo "$file" | sed -e 's/[^A-Za-z0-9._-]/_/g'); done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment