- use unified alias syntax

- added filesystem sizes sorted
- added directoriy sizes sorted
This commit is contained in:
fabian 2022-06-21 23:08:47 +02:00
parent 07c7389c7b
commit 054b034d82

View File

@ -19,8 +19,10 @@ alias finds='find $* 2>/dev/null'
alias c='clear'
alias sort_dirs_by_size='du --block-size=1K --human-readable --max-depth=1 | sort --human-numeric-sort --reverse' # 'du -kh --max-depth=1 | sort -hr'
alias sd='sudo ' # alias, so sudo can use aliases: "If the last character of the alias value is a blank, then the next command word following the alias is also checked for alias expansion."
alias mountDrive='udisksctl mount -b'
alias unmountDrive='udisksctl unmount -b'
alias mountdrive='udisksctl mount -b'
alias unmountdrive='udisksctl unmount -b'
alias fssizes='df -kh --output=size,used,avail,pcent,target | sort -hr'
alias dirsizes='du -kh --apparent-size --max-depth=1 | sort -hr'
# executes command and notifies upon failure