FindDuplicates is a command line tool that runs on Windows and Mac to find duplicate files in a list of directories.
The command to run is:
FindDuplicates --directories ~/dir1 ~/dir2 > duplicates.csv
The result will be a csv file named duplicates.csv file with a Group column, the File Bytes and the Full Path.
FindDuplicates does not delete files. You can use other software or scripts to pick files to be removed.
Download the zip file, extract it, change any security settings your operating system might require to run it and add the executables to your path