commit e61c8122a744ea5e670a84bcdf7418e31673ffa4 parent 60fe0e8789a9c4567f7f2edd94bb3e9d46e50a38 Author: Jacob R. Edwards <jacob@jacobedwards.org> Date: Tue, 6 Jun 2023 12:18:36 -0700 Pass --del to rsync Diffstat:
M | autobackup_send | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/autobackup_send b/autobackup_send @@ -9,4 +9,4 @@ printenv DEBUG >/dev/null && d="${1:?"usage: ${0##*/} destination [rsync-options ...]"}" shift -rsync "$@" -aHu --rsync-path="/usr/local/bin/autobackup_recieve" /home/ "$d:$(hostname -s)" +rsync "$@" -aHu --del --rsync-path="/usr/local/bin/autobackup_recieve" /home/ "$d:$(hostname -s)"