Skip to main content

Sync

Synchronize a local directory with a cloud content delivery bucket. Automatically creates, updates, and deletes entries within the bucket to match the files in the local directory.

Command

ugs ccd entries sync <local-directory-path> [options]

Arguments

  • <local-directory-path>: The local directory path to synchronize.

Options

OptionAliasDescription
bucket-id-b, --bucket-idThe ID of the target bucket.
exclude-ex, --excludeExclude files and folders matching this pattern.
dry-run-d, --dry-runPrints the operations that would be performed without actually executing them.
retry-r, --retryNumber of times to retry syncing a file (default is 3).
timeout-t, --timeoutUpload timeout in seconds (default is no timeout).
delete-de, --deleteEntries that do not exist locally are deleted during sync.
badge-ba, --badgeIf create release flag is set, badge to be assigned to the release.
label-l, --labelThe label to associate with the entries.
create-release-cr, --create-releaseCreates a release containing the files that were synced.
include-entries-added-during-sync-i, --include-entries-added-during-syncIncluding entries added to the bucket during the ongoing synchronization process to ensure all new additions are captured in the release.
metadata-m, --metadataJSON metadata to associate with the release and entries.
help-?, -h, --helpDisplay help and usage information.
quiet-q, --quietReduce logging to a minimum.
json-j, --jsonUse JSON as the output format.