mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 12:49:26 +01:00
bashrc & zshrc: add rcp & rmv
cp & mv using rsync
This commit is contained in:
parent
3b0b021c7f
commit
39899096cd
5
bashrc
5
bashrc
@ -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
5
zshrc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user