Removed bug

This commit is contained in:
Kevin Veen-Birkenbach 2023-06-28 12:00:37 +02:00
parent c1cad6afe1
commit aa09d1597e

View File

@ -9,6 +9,12 @@ fi
dir="$1"
duplicates=$(find "$dir" -type f -exec md5sum {} + | sort | uniq -d -w32)
if [ -z "$duplicates" ]
then
echo "No duplicates found."
exit 0
fi
echo "Duplicates found:"
echo "$duplicates" | while read line