Skip to content

Commit

Permalink
Updated rsync
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleykleynhans committed Jul 30, 2024
1 parent f5a7089 commit e1363b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/pre_start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ sync_directory() {
tar --use-compress-program="pigz -p 4" -xf - -C "$dst_dir"
elif [ "$workspace_fs" = "overlay" ] || [ "$workspace_fs" = "xfs" ]; then
echo "Using rsync for sync ($workspace_fs filesystem detected)"
rsync -rlptDu --info=progress2 --stats "$src_dir/" "$dst_dir/"
rsync -rlptDu "$src_dir/" "$dst_dir/"
else
echo "Unknown filesystem type for /workspace: $workspace_fs, defaulting to rsync"
rsync -rlptDu --info=progress2 --stats "$src_dir/" "$dst_dir/"
rsync -rlptDu "$src_dir/" "$dst_dir/"
fi

echo "Sync completed"
Expand Down

0 comments on commit e1363b8

Please sign in to comment.