Created
January 29, 2020 19:27
-
-
Save glwinsor/fc6b300f22b0cc227cb38386ff48d567 to your computer and use it in GitHub Desktop.
Bulk replace file extensions from .txt to .gbk
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
# Rename all *.txt to *.text | |
for f in *.txt; do | |
mv -- "$f" "${f%.txt}.gbk" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment