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 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
Azcopy Command: Copy Container Between Azure Storage Accounts
azcopy c 'https://<source_storage_account_name>.blob.core.windows.net/<container_name>' 'https://<destination_storage_account_name>.blob.core.windows.net/<container_name>' Azcopy Command: Copy Container Between Storage Accounts azcopy c 'https://<source_storage_account_name>.blob.core.windows.net/<container_name>' 'https://<destination_storage_account_name>.blob.core.windows.net/<container_name>' Azcopy Command: Copy Container Between Accounts azcopy c 'https://<source_storage_account_name>.blob.core.windows.net/<container_name>' 'https://<destination_storage_account_name>.blob.core.windows.net/<container_name>' Azcopy Command: Copy File azcopy c '<path/to/source_file>' 'https://<storage_account_name>.blob.core.windows.net/<container_name>/<blob_name>' Azcopy Command: Copy Files With Extensions azcopy c '<path/to/source_directory>' 'https://<storage_account_name>.blob.core.windows.net/<container_name>' --include-pattern '*.txt;*.jpg'