From 966331e45134b4184d4b64cc79de7bc517a768ca Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 16 Jul 2025 20:29:19 +0200 Subject: [PATCH] rsync --- sh/alias/rsync.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/sh/alias/rsync.sh b/sh/alias/rsync.sh index 49ad728..5f73df7 100644 --- a/sh/alias/rsync.sh +++ b/sh/alias/rsync.sh @@ -1,8 +1,9 @@ # shortcuts for rsync # synchronize +#| rsync #= rs -a__r_sync() { +rwx_rsync() { rsync \ --archive \ --no-inc-recursive \ @@ -14,16 +15,16 @@ a__r_sync() { # synchronize and delete after #= rsda -a__r_sync_delete_after() { - a__r_sync \ +rwx_rsync_delete_after() { + rwx_rsync \ --delete-after \ "${@}" } # synchronize and delete before #= rsdb -a__r_sync_delete_before() { - a__r_sync \ +rwx_rsync_delete_before() { + rwx_rsync \ --delete-before \ "${@}" }