"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
chunker: Update documentation to mention issue with small files
Ricardo D'O. Albanus0957c8fb7403
diff --git a/docs/content/chunker.md b/docs/content/chunker.mdindex 1ca10e1db..1ee168071 100644--- a/docs/content/chunker.md+++ b/docs/content/chunker.md@@ -97,7 +97,7 @@ will put files in a directory called `name` in the current directory.When rclone starts a file upload, chunker checks the file size. If itdoesn't exceed the configured chunk size, chunker will just pass the file-to the wrapped remote. If a file is large, chunker will transparently cut+to the wrapped remote (however, see caveat below). If a file is large, chunker will transparently cutdata in pieces with temporary names and stream them one by one, on the fly.Each data chunk will contain the specified number of bytes, except for thelast one which may have less data. If file size is unknown in advance@@ -129,6 +129,14 @@ proceed with current command.You can set the `--chunker-fail-hard` flag to have commands abort witherror message in such cases.+**Caveat**: As it is now, chunker will always create a temporary file in the+backend and then rename it, even if the file is below the chunk threshold.+This will result in unnecessary API calls and can severely restrict throughput+when handling transfers primarily composed of small files on some backends (e.g. Box).+A workaround to this issue is to use chunker only for files above the chunk threshold+via `--min-size` and then perform a separate call without chunker on the remaining+files.+#### Chunk names