I have a script that does an md5 hash on a bunch of files in 2 folders and prints them to a text file. I know I can run uniq to print out the well, unique, ones but the problem is the lines are from different folders. As an example:
Code:
d41d8cd98f00b204e9800998ecf8427e /home/jason/Desktop/folder1/testin3
and
Code:
d41d8cd98f00b204e9800998ecf8427e /home/jason/Desktop/folder2/testin2
I am going to see if I can use awk to only run uniq on the first part but actually print out the whole line but I wanted to see if anyone had a better idea? Thanks.