rsda,rsdb
This commit is contained in:
parent
ecb4005b0e
commit
dd801e188e
1 changed files with 10 additions and 16 deletions
|
@ -16,21 +16,15 @@ rsb() {
|
||||||
}
|
}
|
||||||
|
|
||||||
# synchronize and delete after
|
# synchronize and delete after
|
||||||
alias rsda="\
|
rsda() {
|
||||||
rsync \
|
rsb \
|
||||||
--archive \
|
--delete-after \
|
||||||
--partial \
|
"${@}"
|
||||||
--progress \
|
}
|
||||||
--verbose \
|
|
||||||
--delete-after \
|
|
||||||
"
|
|
||||||
|
|
||||||
# synchronize and delete before
|
# synchronize and delete before
|
||||||
alias rsdb="\
|
rsdb() {
|
||||||
rsync \
|
rsb \
|
||||||
--archive \
|
--delete-before \
|
||||||
--partial \
|
"${@}"
|
||||||
--progress \
|
}
|
||||||
--verbose \
|
|
||||||
--delete-before \
|
|
||||||
"
|
|
||||||
|
|
Loading…
Reference in a new issue