diff --git a/rechercheDoublons.sh b/rechercheDoublons.sh index eab241f..3642b83 100755 --- a/rechercheDoublons.sh +++ b/rechercheDoublons.sh @@ -34,9 +34,11 @@ fi rm -f "$FILE" -for file in $(find "$REP" -type f); do +LFILES=$(find "$REP" -type f) + +while read file; do md5sum -b "$file" >> "$FILE" -done +done <<< "$LFILES" DOUBLON=0