mirror of
https://github.com/rclone/rclone.git
synced 2025-12-06 00:03:32 +00:00
Version v1.59.0
This commit is contained in:
@@ -15,10 +15,11 @@ Copy url content to dest.
|
||||
Download a URL's content and copy it to the destination without saving
|
||||
it in temporary storage.
|
||||
|
||||
Setting `--auto-filename` will cause the file name to be retrieved from
|
||||
the URL (after any redirections) and used in the destination
|
||||
path. With `--print-filename` in addition, the resulting file name will
|
||||
be printed.
|
||||
Setting `--auto-filename` will attempt to automatically determine the filename from the URL
|
||||
(after any redirections) and used in the destination path.
|
||||
With `--auto-filename-header` in
|
||||
addition, if a specific filename is set in HTTP headers, it will be used instead of the name from the URL.
|
||||
With `--print-filename` in addition, the resulting file name will be printed.
|
||||
|
||||
Setting `--no-clobber` will prevent overwriting file on the
|
||||
destination if there is one with the same name.
|
||||
@@ -34,11 +35,12 @@ rclone copyurl https://example.com dest:path [flags]
|
||||
## Options
|
||||
|
||||
```
|
||||
-a, --auto-filename Get the file name from the URL and use it for destination file path
|
||||
-h, --help help for copyurl
|
||||
--no-clobber Prevent overwriting file with same name
|
||||
-p, --print-filename Print the resulting name from --auto-filename
|
||||
--stdout Write the output to stdout rather than a file
|
||||
-a, --auto-filename Get the file name from the URL and use it for destination file path
|
||||
--header-filename Get the file name from the Content-Disposition header
|
||||
-h, --help help for copyurl
|
||||
--no-clobber Prevent overwriting file with same name
|
||||
-p, --print-filename Print the resulting name from --auto-filename
|
||||
--stdout Write the output to stdout rather than a file
|
||||
```
|
||||
|
||||
See the [global flags page](/flags/) for global options not listed here.
|
||||
|
||||
Reference in New Issue
Block a user