Created
May 28, 2022 16:04
-
-
Save veryyoung/336f3311236d7c6fadd321cac376e406 to your computer and use it in GitHub Desktop.
batch rename file
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
| for i in `ls | grep .json`; do mv $i `echo "$i" | awk -F '.json' '{print $1}'`;done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment