Dotfiles: Update rsync aliases

This commit is contained in:
Jannik Beyerstedt 2023-03-11 18:36:27 +01:00
parent d084912154
commit 47dd9508a6

View file

@ -95,10 +95,10 @@ setopt share_history
alias pip3-upgrade="pip3 list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip3 install -U" alias pip3-upgrade="pip3 list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 pip3 install -U"
alias pip3-list-updates="pip3 list --outdated" alias pip3-list-updates="pip3 list --outdated"
alias rsync-copy="rsync -avz --progress -h" alias rsync-copy="rsync -avz --info=progress2 --partial -h"
alias rsync-move="rsync -avz --progress -h --remove-source-files" alias rsync-move="rsync -avz --info=progress2 -h --remove-source-files"
alias rsync-update="rsync -avzu --progress -h" alias rsync-update="rsync -avzu --info=progress2 --partial -h"
alias rsync-synchronize="rsync -avzu --delete --progress -h" alias rsync-synchronize="rsync -avzu --delete --info=progress2 --partial -h"
# stolen from: https://eldritch.cafe/@lexi/103707492979358755 # stolen from: https://eldritch.cafe/@lexi/103707492979358755
alias doch='sudo sh -c "$(fc -n -l -- -1)"' alias doch='sudo sh -c "$(fc -n -l -- -1)"'