Skip to content

Instantly share code, notes, and snippets.

@Kr0n0
Created January 28, 2020 11:42
Show Gist options
  • Save Kr0n0/0e6e8c19f000dc05b23fe45588d5539e to your computer and use it in GitHub Desktop.
Save Kr0n0/0e6e8c19f000dc05b23fe45588d5539e to your computer and use it in GitHub Desktop.
Batch rename files to her MD5 hash (GNU/Linux Bash)
md5sum * | while read -r sum filename; do mv -v "$filename" "$sum"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment