rwx/shell/alias/rsync.sh

37 lines
411 B
Bash
Raw Normal View History

2023-05-09 22:02:34 +02:00
# synchronize
2024-11-16 16:07:47 +01:00
rs() {
rsb \
"${@}"
}
# base arguments
rsb() {
rsync \
--archive \
--no-inc-recursive \
--partial \
--progress \
--verbose \
"${@}"
}
2023-05-09 22:02:34 +02:00
# synchronize and delete after
2023-05-14 16:09:23 +02:00
alias rsda="\
rsync \
--archive \
--partial \
--progress \
--verbose \
--delete-after \
"
2023-05-09 22:02:34 +02:00
# synchronize and delete before
2023-05-14 16:09:23 +02:00
alias rsdb="\
rsync \
--archive \
--partial \
--progress \
--verbose \
--delete-before \
"