fdupes HowTo (found file duplicates)

IFS=$(echo -en "\n\b")
 
fdupes -R . > fdupes.log
 
cat fdupes.log | grep "XYZ" > del.txt
 
for i in $(cat del.txt); do
rm $i;
done