Last active
February 11, 2024 06:49
-
-
Save xcollantes/e32e1886ffee8f5224cb96ec3a355957 to your computer and use it in GitHub Desktop.
Bash script to rename.
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
| ext="webp" ; for f in * ; do if [[ $f =~ $ext ]] ; then mv "$f" "./$RANDOM.$ext" ; fi ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment