Created
December 17, 2015 22:28
-
-
Save smilingkylan/0f98ae990975f025e2ee to your computer and use it in GitHub Desktop.
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
I=0 | |
for F in *; do | |
echo "$F" `printf CMP1092-%03d.json $I+1` | |
//mv "$F" `printf CMP1092-%03d.json $I+1` 2>/dev/null || true | |
I=$((I + 1)) | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment