bashrc & zshrc: add rcp & rmv

cp & mv using rsync
This commit is contained in:
Mikaela Suomalainen 2014-09-13 11:26:28 +03:00
parent 3b0b021c7f
commit 39899096cd
2 changed files with 10 additions and 0 deletions

5
bashrc
View File

@ -565,6 +565,11 @@ alias pypypip3=pippypy3
# Usage: apt-random <minimum length>
alias apg-random="apg -a1 -M LCN -m"
# cp/mv using rsync. rcp appears to be link to scp in my system, so I can
# safely use this alias.
alias rcp="rsync -a --progress"
alias rmv="rsync -a --progress --remove-source-files"
# Allow custom aliases to be put in .aliases or .bash_aliases .
# .aliases

5
zshrc
View File

@ -535,6 +535,11 @@ alias pypypip3=pippypy3
# Usage: apt-random <minimum length>
alias apg-random="apg -a1 -M LCN -m"
# cp/mv using rsync. rcp appears to be link to scp in my system, so I can
# safely use this alias.
alias rcp="rsync -a --progress"
alias rmv="rsync -a --progress --remove-source-files"
# .aliases
if [ -f ~/.aliases ]; then
source ~/.aliases