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 \ + "${@}" +}