mirror of
https://github.com/rclone/rclone.git
synced 2024-11-24 09:26:30 +08:00
48 lines
1.3 KiB
Markdown
48 lines
1.3 KiB
Markdown
---
|
|
title: "rclone copyurl"
|
|
description: "Copy url content to dest."
|
|
slug: rclone_copyurl
|
|
url: /commands/rclone_copyurl/
|
|
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/copyurl/ and as part of making a release run "make commanddocs"
|
|
---
|
|
# rclone copyurl
|
|
|
|
Copy url content to dest.
|
|
|
|
## Synopsis
|
|
|
|
|
|
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 from URL (after any redirections) and used in the destination
|
|
path.
|
|
|
|
Setting --no-clobber will prevent overwriting file on the
|
|
destination if there is one with the same name.
|
|
|
|
Setting --stdout or making the output file name "-" will cause the
|
|
output to be written to standard output.
|
|
|
|
|
|
```
|
|
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
|
|
--stdout Write the output to stdout rather than a file
|
|
```
|
|
|
|
See the [global flags page](/flags/) for global options not listed here.
|
|
|
|
## SEE ALSO
|
|
|
|
* [rclone](/commands/rclone/) - Show help for rclone commands, flags and backends.
|
|
|