Created
June 10, 2019 09:59
-
-
Save foreseaz/3c5a33a54f965a1a35124990eda6c0e9 to your computer and use it in GitHub Desktop.
rename extension in folders
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
ren '*.com' '#1.jpg' | |
find . -maxdepth 1 -type d \( ! -name . \) -exec bash -c "cd '{}' && ren '*.com' '#1.jpg'" \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment