From 63c0c734f2e0250e569c7c3cf508303b875775ec Mon Sep 17 00:00:00 2001 From: Michael Stumpf Date: Mon, 31 Jul 2023 23:12:23 +0200 Subject: [PATCH] pe7321 uc2 update --- icp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/icp b/icp index 599dc12..c6d3e3b 100755 --- a/icp +++ b/icp @@ -3,6 +3,7 @@ usage() { echo >&2 "Usage: $(basename $0) [OPTION] SOURCE... DEST" echo >&2 "Copy like cp, but use rsync in the background." echo >&2 "Options:" + echo >&2 " -c only transfer files whos checksum does not match" echo >&2 " -h print this help message" echo >&2 " -L follow symlinks in source" echo >&2 " -n no-clobber, do not overwrite existing files" @@ -33,6 +34,8 @@ do elif [[ "$arg" == "-r" ]];then flag_recursive=1 rsync_opt+=("-r") + elif [[ "$arg" == "-c" ]];then + rsync_opt+=("-c") elif [[ "$arg" == "-L" ]];then rsync_opt+=("-L") elif [[ "$arg" == "-v" ]];then