From 21e1d14c1e23d2c586ebe1480add8e9d87e7ad7a Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Thu, 7 Feb 2019 20:34:14 -0500 Subject: [PATCH] Skip 0-sized files in the shell version --- dups.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ' { -- 2.20.1