From 6d86ce790641c91c3a6b3b37dbbadb9471bfc338 Mon Sep 17 00:00:00 2001 From: merakor Date: Thu, 25 Jun 2020 07:02:13 +0000 Subject: kiss: change rsync flags. -c: makes sure that you sync files based on checksum instead of timestamp. -zz: Uses rsync built-in compression method. --include=core: Gets 'core' out of CVS ignores. FossilOrigin-Name: 594a551f3fe5c877b45ce6e54e4a85305acd31cd1095e39aa164b93b8a01952e --- kiss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kiss b/kiss index c0b41a6..0995e59 100755 --- a/kiss +++ b/kiss @@ -1291,7 +1291,7 @@ pkg_fetch() { elif [ -f .rsync ]; then read -r remote < .rsync if [ -w "$PWD" ] && [ "$uid" != 0 ]; then - rsync -avzC --delete "$remote/" "$PWD" + rsync -acvzzC --include=core --delete "$remote/" "$PWD" else [ "$uid" = 0 ] || log "$PWD" "Need root to update" @@ -1304,7 +1304,7 @@ pkg_fetch() { [ "$user" = root ] || log "Dropping permissions to $user for pull" - user=$user as_root rsync -avzC --delete "$remote/" "$PWD" + user=$user as_root rsync -acvzzC --include=core --delete "$remote/" "$PWD" ) fi else -- cgit v1.2.3