feat: list-large-files for both mac/linux
This commit is contained in:
parent
645f6c59da
commit
fdde35a182
@ -346,7 +346,7 @@ function random-string {
|
||||
|
||||
function list-large-files {
|
||||
LIST=`du $1`
|
||||
echo $LIST | grep '\dK.' | sort -n
|
||||
echo $LIST | grep '\dM.' | sort -n
|
||||
echo $LIST | grep '\dG.' | sort -n
|
||||
echo $LIST | grep '^[0-9.]*K.' | sort -n
|
||||
echo $LIST | grep '^[0-9.]*M.' | sort -n
|
||||
echo $LIST | grep '^[0-9.]*G.' | sort -n
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user