rclone/docs/content/commands/rclone_copyurl.md

43 lines
982 B
Markdown
Raw Normal View History

2018-09-01 21:58:00 +10:00
---
2020-02-01 21:31:42 +11:00
date: 2020-02-01T10:26:53Z
2018-09-01 21:58:00 +10:00
title: "rclone copyurl"
slug: rclone_copyurl
url: /commands/rclone_copyurl/
---
## rclone copyurl
Copy url content to dest.
### Synopsis
2020-02-01 21:31:42 +11:00
Download a URL's content and copy it to the destination without saving
it in temporary storage.
2018-09-01 21:58:00 +10:00
2020-02-01 21:31:42 +11:00
Setting --auto-filename will cause the file name to be retreived from
the from URL (after any redirections) and used in the destination
path.
Setting --stdout or making the output file name "-" will cause the
output to be written to standard output.
2019-10-26 21:04:54 +11:00
2018-09-01 21:58:00 +10:00
```
rclone copyurl https://example.com dest:path [flags]
```
### Options
```
2020-02-01 21:31:42 +11:00
-a, --auto-filename Get the file name from the URL and use it for destination file path
-h, --help help for copyurl
2020-02-01 21:31:42 +11:00
--stdout Write the output to stdout rather than a file
2018-09-01 21:58:00 +10:00
```
See the [global flags page](/flags/) for global options not listed here.
2018-09-01 21:58:00 +10:00
### SEE ALSO
2018-10-15 21:03:08 +11:00
* [rclone](/commands/rclone/) - Show help for rclone commands, flags and backends.
2018-09-01 21:58:00 +10:00