aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/dups
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-11-22 02:14:25 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-11-22 11:13:34 +0530
commit1cca9e4b72b106374f203890b266f18609deefe3 (patch)
tree9f281f4b4de296c54d13dc9c7e214f58835636a7 /plugins/dups
parentee2dcb1de7d3e82b330f49ee9fb5dfd4608207ff (diff)
downloadnnn-1cca9e4b72b106374f203890b266f18609deefe3.tar.gz
shellcheck fixes
Diffstat (limited to 'plugins/dups')
-rwxr-xr-xplugins/dups6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/dups b/plugins/dups
index 0643025..2c5bb5e 100755
--- a/plugins/dups
+++ b/plugins/dups
@@ -9,7 +9,7 @@
# Shell: POSIX compliant
# Author: syssyphus
-find -size +0 -type f -printf "%s\n" | sort -rn | uniq -d | xargs -I{} -n1 find -type f -size {}c -print0 | xargs -0 md5sum | sort | uniq -w32 --all-repeated=separate
+find . -size +0 -type f -printf "%s\n" | sort -rn | uniq -d | xargs -I{} -n1 find -type f -size {}c -print0 | xargs -0 md5sum | sort | uniq -w32 --all-repeated=separate
-echo "Press any key to exit"
-read dummy
+printf "Press any key to exit"
+read -r _