You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -256,8 +256,11 @@ The `--verbose` option will turn on verbose logging and is useful for debugging.
256
256
$ dbxcli put file.txt /destination/file.txt # upload a single file
257
257
$ dbxcli put -r ./project /backup/project # recursively upload a directory
258
258
$ dbxcli put -r -w 8 ./large-folder /backup/large # use 8 workers per large file
259
+
$ dbxcli put --if-exists skip file.txt /dest.txt # skip if the file already exists
259
260
```
260
261
262
+
By default, `put` overwrites existing destination files. Use `--if-exists overwrite|skip|fail` to choose whether existing files are overwritten, skipped, or treated as an error.
0 commit comments