From 99617a29f6bac7bad57e53562c2610c41daa2dac Mon Sep 17 00:00:00 2001 From: root Date: Sun, 6 Sep 2015 21:42:26 +0200 Subject: [PATCH] 61c42f4a-d2c6-46cc-9c67-0781b3806d42 --- rechercheDoublons.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 1.7.9.5