2018-09-01 19:58:00 +08:00
|
|
|
---
|
|
|
|
title: "rclone copyurl"
|
2020-05-16 22:11:55 +08:00
|
|
|
description: "Copy url content to dest."
|
2018-09-01 19:58:00 +08:00
|
|
|
slug: rclone_copyurl
|
|
|
|
url: /commands/rclone_copyurl/
|
2020-02-10 20:31:45 +08:00
|
|
|
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/copyurl/ and as part of making a release run "make commanddocs"
|
2018-09-01 19:58:00 +08:00
|
|
|
---
|
2020-05-22 18:17:37 +08:00
|
|
|
# rclone copyurl
|
2018-09-01 19:58:00 +08:00
|
|
|
|
|
|
|
Copy url content to dest.
|
|
|
|
|
2020-05-22 18:17:37 +08:00
|
|
|
## Synopsis
|
2018-09-01 19:58:00 +08:00
|
|
|
|
|
|
|
|
2020-02-01 18:31:42 +08:00
|
|
|
Download a URL's content and copy it to the destination without saving
|
|
|
|
it in temporary storage.
|
2018-09-01 19:58:00 +08:00
|
|
|
|
2020-05-25 18:59:33 +08:00
|
|
|
Setting --auto-filename will cause the file name to be retrieved from
|
2020-02-01 18:31:42 +08:00
|
|
|
the from URL (after any redirections) and used in the destination
|
|
|
|
path.
|
|
|
|
|
2020-04-19 19:40:17 +08:00
|
|
|
Setting --no-clobber will prevent overwriting file on the
|
|
|
|
destination if there is one with the same name.
|
|
|
|
|
2020-02-01 18:31:42 +08:00
|
|
|
Setting --stdout or making the output file name "-" will cause the
|
|
|
|
output to be written to standard output.
|
2019-10-26 18:04:54 +08:00
|
|
|
|
2018-09-01 19:58:00 +08:00
|
|
|
|
|
|
|
```
|
|
|
|
rclone copyurl https://example.com dest:path [flags]
|
|
|
|
```
|
|
|
|
|
2020-05-22 18:17:37 +08:00
|
|
|
## Options
|
2018-09-01 19:58:00 +08:00
|
|
|
|
|
|
|
```
|
2020-02-01 18:31:42 +08:00
|
|
|
-a, --auto-filename Get the file name from the URL and use it for destination file path
|
2019-09-04 00:25:19 +08:00
|
|
|
-h, --help help for copyurl
|
2020-05-16 22:11:55 +08:00
|
|
|
--no-clobber Prevent overwriting file with same name
|
2020-02-01 18:31:42 +08:00
|
|
|
--stdout Write the output to stdout rather than a file
|
2018-09-01 19:58:00 +08:00
|
|
|
```
|
|
|
|
|
2019-06-20 23:18:02 +08:00
|
|
|
See the [global flags page](/flags/) for global options not listed here.
|
|
|
|
|
2020-05-22 18:17:37 +08:00
|
|
|
## SEE ALSO
|
2018-09-01 19:58:00 +08:00
|
|
|
|
2018-10-15 18:03:08 +08:00
|
|
|
* [rclone](/commands/rclone/) - Show help for rclone commands, flags and backends.
|
2018-09-01 19:58:00 +08:00
|
|
|
|