[Nottingham] REading filesystem into MySQL query

Martin Garton martin at stupids.org
Thu Oct 20 12:42:25 BST 2005


On Thu, 2005-10-20 at 12:08 +0100, Martin wrote:

> OK, who can do that as a one-liner?

Actually, is can be improved. (After reading man uniq)

find  -type f | xargs md5sum  | sort | uniq -D -w32

note the capital "D"

It works, but is clearly not the fastest since it runs md5sum on
everything.

-- 
Martin.





More information about the Nottingham mailing list