Page 1 of 1

Sort GNU md5sum file

Posted: Thu Sep 03, 2015 5:22 pm
by peter_b
Trying to sort a regular MD5SUMS file using "sort" would sort its contents according to the hashcode - not the filenames.
If you would like to sort its contents based on the hashed filenames, use the following parameters:

Code: Select all

$ sort -k +2d -u MD5SUMS
:D