Skip 0-sized files in the shell version master
authorSiraaj Khandkar <siraaj@khandkar.net>
Fri, 8 Feb 2019 01:34:14 +0000 (20:34 -0500)
committerSiraaj Khandkar <siraaj@khandkar.net>
Fri, 8 Feb 2019 01:34:14 +0000 (20:34 -0500)
dups.sh

diff --git a/dups.sh b/dups.sh
index bd282e5..5fc4f95 100755 (executable)
--- a/dups.sh
+++ b/dups.sh
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-find $@ -type f -print0 \
+find $@ -type f -size +0 -print0 \
 | xargs -0 -P $(nproc) md5sum \
 | awk '
     {
This page took 0.017724 seconds and 4 git commands to generate.