mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-02-16 13:30:57 +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 "
|
alias proxychains="proxychains "
|
||||||
|
|
||||||
# Downloads folder over SSH. Usage: rdownload <host>:<remotefolder> <local_destination> | TIP: use ~/ssh/config to configure hosts.
|
# 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
|
# TMUX specific
|
||||||
alias attach="exec tmux -u attach-session"
|
alias attach="exec tmux -u attach-session"
|
||||||
@ -305,7 +305,7 @@ alias sshguard-unban="sudo iptables -D sshguard "
|
|||||||
alias KILL="killall -KILL "
|
alias KILL="killall -KILL "
|
||||||
|
|
||||||
# For locally rsync copying folder1 to folder2.
|
# 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...
|
# SSHGuard seems to prefer users to run this always when connecting with keys in ssh-agent...
|
||||||
alias ssh-add="\ssh-add -D && \ssh-add "
|
alias ssh-add="\ssh-add -D && \ssh-add "
|
||||||
|
4
zshrc
4
zshrc
@ -160,7 +160,7 @@ alias torsocks="proxychains "
|
|||||||
alias proxychains="proxychains "
|
alias proxychains="proxychains "
|
||||||
|
|
||||||
# Downloads folder over SSH. Usage: rdownload <host>:<remotefolder> <local_destination> | TIP: use ~/ssh/config to configure hosts.
|
# 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
|
# TMUX specific
|
||||||
alias attach="exec tmux -u attach-session"
|
alias attach="exec tmux -u attach-session"
|
||||||
@ -248,7 +248,7 @@ alias sshguard-unban="sudo iptables -D sshguard "
|
|||||||
alias KILL="killall -KILL "
|
alias KILL="killall -KILL "
|
||||||
|
|
||||||
# For locally rsync copying folder1 to folder2.
|
# 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...
|
# SSHGuard seems to prefer users to run this always when connecting with keys in ssh-agent...
|
||||||
alias ssh-add="\ssh-add -D && \ssh-add "
|
alias ssh-add="\ssh-add -D && \ssh-add "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user