Created
October 4, 2019 15:27
-
-
Save guipacheco2/3a3be07821a9a42d86c31379d36a85ab to your computer and use it in GitHub Desktop.
Revisions
-
guipacheco2 created this gist
Oct 4, 2019 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ for i in *; do sum=$(echo -n "$i"|md5sum); mv "$i" "${sum%% *}.${i##*.}"; done