pe7321 uc2 update

This commit is contained in:
Michael Stumpf 2023-07-31 23:12:23 +02:00
parent b78886a00b
commit 63c0c734f2
1 changed files with 3 additions and 0 deletions

3
icp
View File

@ -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