Finding files on a *nix/Linux and sorting by size

1. Finding files on *NIX and sort by size

find ~ -iregex ".*/*.sh" -type f -print0 | xargs -0 -n1 du -b | sort -n -r

posted @ 2017-11-07 15:35  xiulug  阅读(120)  评论(0编辑  收藏  举报