finding big files (not nemo)
This commit is contained in:
parent
71c8dfa7b9
commit
519dc1b9ce
@ -68,6 +68,7 @@ alias x='extract'
|
||||
alias current_year='`echo date +"%Y"`'
|
||||
alias meteo='weather'
|
||||
alias learnmore="apropos . | sort --random-sort | awk 'NR == 1 {print$1}' | cut -d'(' -f 1 | xargs man"
|
||||
alias biggerthan10='biggerthan 10M'
|
||||
|
||||
# Show/hide hidden files in Finder
|
||||
alias show="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder"
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user