From b78886a00b2471d929eb030a703b3975548f30f0 Mon Sep 17 00:00:00 2001 From: Michael Stumpf Date: Thu, 22 Jul 2021 11:10:53 +0200 Subject: [PATCH] added -u flag: matching files with newer timestamps at destination are skipped --- icp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icp b/icp index 3273b09..599dc12 100755 --- a/icp +++ b/icp @@ -23,7 +23,7 @@ EXIT_INVALID_PATH=3 # rsync: Errors selecting input/output files, dirs # -remove trailing slash from directories flag_recursive=0 flag_dryrun=0 -rsync_opt=("-lpgoD") +rsync_opt=("-lpgoDu") rsync_arg=() for arg in "$@" do