diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-05-06 10:42:29 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-05-06 10:42:50 +0530 |
commit | cfbb8f21177bf376698fa4d3b625d9627c1237e9 (patch) | |
tree | 124fc693a303aa6fca83f44933766be0582cb831 /plugins/dups | |
parent | f438ddc28ce30fee3f870e1a7a91e8a1e6f0845f (diff) | |
download | nnn-cfbb8f21177bf376698fa4d3b625d9627c1237e9.tar.gz |
Uniform plugins
Diffstat (limited to 'plugins/dups')
-rwxr-xr-x | plugins/dups | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/dups b/plugins/dups index c35489c..d44ecfc 100755 --- a/plugins/dups +++ b/plugins/dups @@ -7,7 +7,7 @@ # Requires: find md5sum sort uniq xargs # # Shell: POSIX compliant -# Author: syssyphus, KlzXS +# Authors: syssyphus, KlzXS find . -size +0 -type f -printf "%s %p\n" | sort -rn | sed -n 'N; /^\([0-9]*\) .*\n\1.*$/p;$d;D' | awk '{printf("%s\0", substr($0, index($0, $2)))}' | xargs -0 md5sum | sort | uniq -w32 --all-repeated=separate |