Sort GNU md5sum file

Step-by-Step descriptions of how to do things.
Post Reply
User avatar
peter_b
Chatterbox
Posts: 383
Joined: Tue Nov 12, 2013 2:05 am

Sort GNU md5sum file

Post 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
Post Reply