mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-26 13:14:35 +00:00
Add backup alias
This commit is contained in:
parent
ddbf375ac5
commit
e9b074594b
|
@ -138,6 +138,7 @@ alias swapout='sudo swapoff -a; sudo swapon -a' # Reset swap (move everything to
|
||||||
alias mount-ram='mount -t tmpfs tmpfs' # Mount RAM disk for fast filesystem
|
alias mount-ram='mount -t tmpfs tmpfs' # Mount RAM disk for fast filesystem
|
||||||
alias upload-journal='sudo journalctl -b -1 | curl -F "f:1=<-" ix.io' # Upload journalctl from last boot to ix.io
|
alias upload-journal='sudo journalctl -b -1 | curl -F "f:1=<-" ix.io' # Upload journalctl from last boot to ix.io
|
||||||
alias sv='systemctl'
|
alias sv='systemctl'
|
||||||
|
alias backup="rsync -avHAXS --delete --filter='dir-merge /.rsync-filter'" # Make full rsync backup, respecting .rsync-filter files for exclusions
|
||||||
|
|
||||||
# Processes
|
# Processes
|
||||||
alias psmem='ps auxf | sort -nr -k 4' # Top memory eaters
|
alias psmem='ps auxf | sort -nr -k 4' # Top memory eaters
|
||||||
|
|
Loading…
Reference in a new issue