From dd801e188e6e6123db576002d3374188cdfd0506 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 16 Nov 2024 16:10:16 +0100 Subject: [PATCH] rsda,rsdb --- shell/alias/rsync.sh | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/shell/alias/rsync.sh b/shell/alias/rsync.sh index d7c66b6..a5efc09 100644 --- a/shell/alias/rsync.sh +++ b/shell/alias/rsync.sh @@ -16,21 +16,15 @@ rsb() { } # synchronize and delete after -alias rsda="\ -rsync \ ---archive \ ---partial \ ---progress \ ---verbose \ ---delete-after \ -" +rsda() { + rsb \ + --delete-after \ + "${@}" +} # synchronize and delete before -alias rsdb="\ -rsync \ ---archive \ ---partial \ ---progress \ ---verbose \ ---delete-before \ -" +rsdb() { + rsb \ + --delete-before \ + "${@}" +}