Created
November 6, 2018 07:41
-
-
Save tossmilestone/06875a4ad6346ed7d6230897960dfe1b to your computer and use it in GitHub Desktop.
batch rename file
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
find . -type f -name '*.sh' | while read f; do mv "$f" "${f%.sh}"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment