diff --git a/.config/zsh/zshrc.d/40-functions.zsh b/.config/zsh/zshrc.d/40-functions.zsh index c647464..542d153 100644 --- a/.config/zsh/zshrc.d/40-functions.zsh +++ b/.config/zsh/zshrc.d/40-functions.zsh @@ -558,7 +558,7 @@ finddup() { # -u` handles # TODO: Use cksum to calculate faster CRC with custom awk solution to print # duplicates, as `uniq -w32` breaks through the different CRC lengths. - find "$@" -type f -exec du '{}' '+' \ + find "$@" -type f -exec du -b '{}' '+' \ | sort \ | awk '{ if (!_[$1]) { _[$1] = $0 } else { print _[$1]; print $0; } }' \ | sort -u \