mirror of
https://github.com/kevinveenbirkenbach/duplicate-file-handler.git
synced 2024-11-13 01:31:03 +01:00
Removed bug
This commit is contained in:
parent
c1cad6afe1
commit
aa09d1597e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user