azcopy Verified for current stable LTS

Azcopy Command: Synchronize Local Directory To Azure With Delete

Use for synchronize local directory to azure with delete with Azcopy. Exact CLI syntax to synchronize local directory to azure with delete using Azcopy.

When to use this: Use for synchronize local directory to azure with delete with Azcopy.
Destructive Command Warning

Destructive operation. Confirm the target path and keep a backup before executing.

Command Syntax

azcopy s '<path/to/source_directory>' 'https://<storage_account_name>.blob.core.windows.net/<container_name>' --delete-destination true

Command Breakdown

--delete-destination
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to synchronize local directory to azure with delete using Azcopy.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Azcopy directory