Skip to content

Commit

Permalink
update help text to mirror command line options (#1038)
Browse files Browse the repository at this point in the history
--include and --exclude are no longer supported
  • Loading branch information
bmc-msft authored Jun 10, 2020
1 parent de7740b commit 1184c16
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/helpMessages.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,11 +286,11 @@ Remove only the blobs inside of a virtual directory, but don't remove any subdir
Remove a subset of blobs in a virtual directory (For example: remove only jpg and pdf files, or if the blob name is "exactName"):
- azcopy rm "https://[account].blob.core.windows.net/[container]/[path/to/directory]?[SAS]" --recursive=true --include="*.jpg;*.pdf;exactName"
- azcopy rm "https://[account].blob.core.windows.net/[container]/[path/to/directory]?[SAS]" --recursive=true --include-pattern="*.jpg;*.pdf;exactName"
Remove an entire virtual directory but exclude certain blobs from the scope (For example: every blob that starts with foo or ends with bar):
- azcopy rm "https://[account].blob.core.windows.net/[container]/[path/to/directory]?[SAS]" --recursive=true --exclude="foo*;*bar"
- azcopy rm "https://[account].blob.core.windows.net/[container]/[path/to/directory]?[SAS]" --recursive=true --exclude-pattern="foo*;*bar"
Remove specific blobs and virtual directories by putting their relative paths (NOT URL-encoded) in a file:
Expand Down Expand Up @@ -359,11 +359,11 @@ Sync only the files inside of a directory but not subdirectories or the files in
Sync a subset of files in a directory (For example: only jpg and pdf files, or if the file name is "exactName"):
- azcopy sync "/path/to/dir" "https://[account].blob.core.windows.net/[container]/[path/to/virtual/dir]" --include="*.jpg;*.pdf;exactName"
- azcopy sync "/path/to/dir" "https://[account].blob.core.windows.net/[container]/[path/to/virtual/dir]" --include-pattern="*.jpg;*.pdf;exactName"
Sync an entire directory but exclude certain files from the scope (For example: every file that starts with foo or ends with bar):
- azcopy sync "/path/to/dir" "https://[account].blob.core.windows.net/[container]/[path/to/virtual/dir]" --exclude="foo*;*bar"
- azcopy sync "/path/to/dir" "https://[account].blob.core.windows.net/[container]/[path/to/virtual/dir]" --exclude-pattern="foo*;*bar"
Sync a single blob:
Expand Down

0 comments on commit 1184c16

Please sign in to comment.