finding big files (not nemo)

This commit is contained in:
Morgan Wattiez
2019-08-08 14:35:18 +02:00
parent 71c8dfa7b9
commit 519dc1b9ce
2 changed files with 6 additions and 0 deletions

View File

@ -101,3 +101,8 @@ function skip {
n=$(($1 + 1))
cut -d' ' -f$n-
}
# Find files bigger than X size and sort them by size
function biggerthan() {
find . -size "+$*" -type f -print0 | xargs -0 ls -Ssh | sort -z
}