2017-09-30 13:19:47 +00:00
|
|
|
---
|
2020-05-22 10:17:37 +00:00
|
|
|
date: 2020-05-22T09:52:00+01:00
|
2017-09-30 13:19:47 +00:00
|
|
|
title: "rclone rcat"
|
2020-05-16 14:11:55 +00:00
|
|
|
description: "Copies standard input to file on remote."
|
2017-09-30 13:19:47 +00:00
|
|
|
slug: rclone_rcat
|
|
|
|
url: /commands/rclone_rcat/
|
2020-02-10 12:31:45 +00:00
|
|
|
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/rcat/ and as part of making a release run "make commanddocs"
|
2017-09-30 13:19:47 +00:00
|
|
|
---
|
2020-05-22 10:17:37 +00:00
|
|
|
# rclone rcat
|
2017-09-30 13:19:47 +00:00
|
|
|
|
|
|
|
Copies standard input to file on remote.
|
|
|
|
|
2020-05-22 10:17:37 +00:00
|
|
|
## Synopsis
|
2017-09-30 13:19:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
rclone rcat reads from standard input (stdin) and copies it to a
|
|
|
|
single remote file.
|
|
|
|
|
|
|
|
echo "hello world" | rclone rcat remote:path/to/file
|
2018-06-16 17:21:09 +00:00
|
|
|
ffmpeg - | rclone rcat remote:path/to/file
|
2017-09-30 13:19:47 +00:00
|
|
|
|
|
|
|
If the remote file already exists, it will be overwritten.
|
|
|
|
|
|
|
|
rcat will try to upload small files in a single request, which is
|
|
|
|
usually more efficient than the streaming/chunked upload endpoints,
|
|
|
|
which use multiple requests. Exact behaviour depends on the remote.
|
|
|
|
What is considered a small file may be set through
|
|
|
|
`--streaming-upload-cutoff`. Uploading only starts after
|
|
|
|
the cutoff is reached or if the file ends before that. The data
|
|
|
|
must fit into RAM. The cutoff needs to be small enough to adhere
|
|
|
|
the limits of your remote, please see there. Generally speaking,
|
|
|
|
setting this cutoff too high will decrease your performance.
|
|
|
|
|
|
|
|
Note that the upload can also not be retried because the data is
|
|
|
|
not kept around until the upload succeeds. If you need to transfer
|
|
|
|
a lot of data, you're better off caching locally and then
|
|
|
|
`rclone move` it to the destination.
|
|
|
|
|
|
|
|
```
|
|
|
|
rclone rcat remote:path [flags]
|
|
|
|
```
|
|
|
|
|
2020-05-22 10:17:37 +00:00
|
|
|
## Options
|
2017-09-30 13:19:47 +00:00
|
|
|
|
|
|
|
```
|
|
|
|
-h, --help help for rcat
|
|
|
|
```
|
|
|
|
|
2019-06-20 15:18:02 +00:00
|
|
|
See the [global flags page](/flags/) for global options not listed here.
|
|
|
|
|
2020-05-22 10:17:37 +00:00
|
|
|
## SEE ALSO
|
2017-09-30 13:19:47 +00:00
|
|
|
|
2018-10-15 10:03:08 +00:00
|
|
|
* [rclone](/commands/rclone/) - Show help for rclone commands, flags and backends.
|
2018-03-19 10:06:13 +00:00
|
|
|
|