Synclair is a command-line tool for diffing and synchronizing directories. It also includes a utility to find duplicate files (by name or MD5 hash).