Commit 99617a29f6bac7bad57e53562c2610c41daa2dac

Authored by root
1 parent 4a46fd062a
Exists in master

61c42f4a-d2c6-46cc-9c67-0781b3806d42

Showing 1 changed file with 4 additions and 2 deletions

rechercheDoublons.sh View file @ 99617a2
... ... @@ -34,9 +34,11 @@
34 34  
35 35 rm -f "$FILE"
36 36  
37   -for file in $(find "$REP" -type f); do
  37 +LFILES=$(find "$REP" -type f)
  38 +
  39 +while read file; do
38 40 md5sum -b "$file" >> "$FILE"
39   -done
  41 +done <<< "$LFILES"
40 42  
41 43 DOUBLON=0
42 44