rsync_opts="-niaH$verify_content --delete"
if rsync --version | grep -q xattrs; then
- rsync_opts="$rsync_opts -AX"
+ if [[ $(uname) =~ CYGWIN ]]; then
+ # bup doesn't support ACLs on Cygwin yet.
+ rsync_opts="$rsync_opts -X"
+ else
+ rsync_opts="$rsync_opts -AX"
+ fi
else
echo "Not comparing xattrs/acls (unsupported by available rsync)." 1>&2
fi