diff --git a/shell/alias/rsync.sh b/shell/alias/rsync.sh index a5efc09..7a94aac 100644 --- a/shell/alias/rsync.sh +++ b/shell/alias/rsync.sh @@ -23,7 +23,8 @@ rsda() { } # synchronize and delete before -rsdb() { +rsdb() { r_sync_delete_before "${@}"; } +r_sync_delete_before() { rsb \ --delete-before \ "${@}"