Skip to content

Commit 83d7e1c

Browse files
committed
Document options for the --existing flag
1 parent 2827711 commit 83d7e1c

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎docs/source/cmdline/download.rst‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@ Options
2020

2121
How to handle paths that already exist locally [default: ``error``]
2222

23+
For ``error``, if the local file exists, display an error and skip downloading that asset.
24+
25+
For ``skip``, if the local file exists, skip downloading that asset.
26+
27+
For ``overwrite``, if the local file exists, overwrite it.
28+
29+
For ``overwrite-different``, if the local file's hash is the same as on the
30+
server, the asset is skipped; otherwise, it is redownloaded.
31+
2332
For ``refresh``, if the local file's size and mtime are the same as on the
2433
server, the asset is skipped; otherwise, it is redownloaded.
2534

0 commit comments

Comments
 (0)