large and midfiles
This commit is contained in:
parent
eed3acad71
commit
a68a29fd76
|
@ -21,6 +21,8 @@ alias gls=/bin/ls
|
|||
|
||||
### Functions
|
||||
function largefiles () { exec 2>/dev/null; du -ah "$@" | grep -P "^\d+(G|T|P|E)\s" }
|
||||
function midfiles () { exec 2>/dev/null; du -ah "$@" | grep -P "^\d+(M|G|T|P|E)\s" }
|
||||
function midfiles () { exec 2>/dev/null; du -ah "$@" | grep -P "^\d+(B|K)\s" }
|
||||
|
||||
### ZSH HOME
|
||||
export ZSH=$HOME/.zsh-server
|
||||
|
|
|
@ -31,6 +31,8 @@ alias gls=/bin/ls
|
|||
|
||||
### Functions
|
||||
function largefiles () { exec 2>/dev/null; du -ah "$@" | grep -P "^\d+(G|T|P|E)\s" }
|
||||
function midfiles () { exec 2>/dev/null; du -ah "$@" | grep -P "^\d+(M|G|T|P|E)\s" }
|
||||
function midfiles () { exec 2>/dev/null; du -ah "$@" | grep -P "^\d+(B|K)\s" }
|
||||
|
||||
### ZSH HOME
|
||||
export ZSH=$HOME/.zsh
|
||||
|
|
Loading…
Reference in New Issue