I try find one file that is different on folder. I have 4 files i.e. file1, file2, file3 and file4. File from 1 to 3 have text "not uniq", file 4 is empty. How can i find this different file? I tried with diff, but diff works with 2 files.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this community
md5sum * | grep $(md5sum * | awk '{print $1}' | sort | uniq -c | grep " 1 " | awk '{print $2}' | head -1) | awk '{print $2}'