Close
logoStacktape docs



sync-bucket

Syncs the specified file or a directory to the specified bucket. Existing files that are not present in the source will be removed from the bucket.

stacktape sync-bucket --region <<region>> --bucketName <<bucketName>> --sourcePath <<sourcePath>>

Arguments API reference

Command options API reference
Required
bucketName (--bn)
Type: string

Name of the destination bucket.

Required
region (--r)
Type: string ENUM

AWS region for given command.

Required
sourcePath (--sp)
Type: string

Path to the file or directory to sync. Can be absolute, or relative to the current working directory.

logFormat (--lf)
Type: string ENUM

Format of logs that are being printed to your console. You can learn more at https://docs.stacktape.com/cli/using-cli Default: 'fancy'

logLevel (--ll)
Type: string ENUM

Level of logs that are being printed to the console. You can use 'debug' for more information about what's being done, or 'error' to show only errors. Default: 'info'

profile (--p)
Type: string

AWS profile to use.