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:
nyuszika7h 2012-01-10 15:54:10 +01:00 committed by Mika Suomalainen
parent a4ed66884b
commit af15c7b3fa
2 changed files with 4 additions and 4 deletions

4
bashrc
View File

@ -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
View File

@ -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 "