From: Siraaj Khandkar Date: Fri, 8 Feb 2019 01:34:14 +0000 (-0500) Subject: Skip 0-sized files in the shell version X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=dups.git Skip 0-sized files in the shell version --- diff --git a/dups.sh b/dups.sh index bd282e5..5fc4f95 100755 --- 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 ' {