Merge pull request #316 from eed3si9n/wip/rsync

rsync flags
This commit is contained in:
eugene yokota 2019-12-24 22:41:13 -05:00 committed by GitHub
commit 6c55f68f5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ syncPreloaded() {
[[ -d "$source_preloaded" ]] && {
command -v rsync >/dev/null 2>&1 && {
mkdir -p "$target_preloaded"
rsync -a --ignore-existing "$source_preloaded" "$target_preloaded" || true
rsync --recursive --links --perms --times --ignore-existing "$source_preloaded" "$target_preloaded" || true
}
}
}