2
votes
3answers
559 views

Rename files with random characters from sha1sum. Does it unique?

I'm using this command to rename files with random characters from sha1sum and move all files from subdirectories to current directory: for fname in `find . -type f`; do mv "$fname" $(echo "$fname" | ...