From af15c7b3fa7c67cee3315a5c45d384425dfdd862 Mon Sep 17 00:00:00 2001 From: nyuszika7h Date: Tue, 10 Jan 2012 15:54:10 +0100 Subject: [PATCH] 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 --- bashrc | 4 ++-- zshrc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bashrc b/bashrc index 4e074930..2fdd2c3e 100644 --- a/bashrc +++ b/bashrc @@ -234,7 +234,7 @@ alias torsocks="proxychains " alias proxychains="proxychains " # Downloads folder over SSH. Usage: rdownload : | 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 " diff --git a/zshrc b/zshrc index 9c4a6b1a..7d67913a 100644 --- a/zshrc +++ b/zshrc @@ -160,7 +160,7 @@ alias torsocks="proxychains " alias proxychains="proxychains " # Downloads folder over SSH. Usage: rdownload : | 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 "