mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 03:09:22 +01:00
bashrc, zshrc: Add -h and --progress to rsync aliases
From rsync(1): -h, --human-readable output numbers in a human-readable format --progress show progress during transfer
This commit is contained in:
parent
a4ed66884b
commit
af15c7b3fa
4
bashrc
4
bashrc
@ -234,7 +234,7 @@ alias torsocks="proxychains "
|
||||
alias proxychains="proxychains "
|
||||
|
||||
# Downloads folder over SSH. Usage: rdownload <host>:<remotefolder> <local_destination> | TIP: use ~/ssh/config to configure hosts.
|
||||
alias rdownload="rsync -avz "
|
||||
alias rdownload="rsync -h --progress -avz "
|
||||
|
||||
# TMUX specific
|
||||
alias attach="exec tmux -u attach-session"
|
||||
@ -305,7 +305,7 @@ alias sshguard-unban="sudo iptables -D sshguard "
|
||||
alias KILL="killall -KILL "
|
||||
|
||||
# For locally rsync copying folder1 to folder2.
|
||||
alias rsync-folder="rsync -azvv "
|
||||
alias rsync-folder="rsync -h --progress -azvv "
|
||||
|
||||
# SSHGuard seems to prefer users to run this always when connecting with keys in ssh-agent...
|
||||
alias ssh-add="\ssh-add -D && \ssh-add "
|
||||
|
4
zshrc
4
zshrc
@ -160,7 +160,7 @@ alias torsocks="proxychains "
|
||||
alias proxychains="proxychains "
|
||||
|
||||
# Downloads folder over SSH. Usage: rdownload <host>:<remotefolder> <local_destination> | TIP: use ~/ssh/config to configure hosts.
|
||||
alias rdownload="rsync -avz "
|
||||
alias rdownload="rsync -h --progress -avz "
|
||||
|
||||
# TMUX specific
|
||||
alias attach="exec tmux -u attach-session"
|
||||
@ -248,7 +248,7 @@ alias sshguard-unban="sudo iptables -D sshguard "
|
||||
alias KILL="killall -KILL "
|
||||
|
||||
# For locally rsync copying folder1 to folder2.
|
||||
alias rsync-folder="rsync -azvv "
|
||||
alias rsync-folder="rsync -h --progress -azvv "
|
||||
|
||||
# SSHGuard seems to prefer users to run this always when connecting with keys in ssh-agent...
|
||||
alias ssh-add="\ssh-add -D && \ssh-add "
|
||||
|
Loading…
Reference in New Issue
Block a user