Go to file
Riccardo Iaconelli df4e6079f1 local: new flag --local-zero-size-links to fix sync on some virtual filesystems
Assume the Stat size of links is zero (and read them instead)

On some virtual filesystems (such ash LucidLink), reading a link size via a
Stat call always returns 0.
However, on unix it reads as the length of the text in the link. This may
cause errors like this when syncing:

    Failed to copy: corrupted on transfer: sizes differ 0 vs 13

Setting this flag causes rclone to read the link and use that as the size of
the link instead of 0 which in most cases fixes the problem.

Fixes #4950

Signed-off-by: Riccardo Iaconelli <riccardo@kde.org>
2021-01-27 18:13:16 +00:00
.github build: add go1.16beta1 to the build matrix 2021-01-08 12:22:37 +00:00
backend local: new flag --local-zero-size-links to fix sync on some virtual filesystems 2021-01-27 18:13:16 +00:00
bin build: add -buildmode to cross-compile.go 2021-01-08 08:58:50 +00:00
cmd docs: fix markup of arguments #4276 2021-01-25 22:40:46 +03:00
contrib/docker Contrib: Add sample WebDAV server Docker Compose manifest. 2019-09-15 16:06:54 +01:00
docs docs: fix broken link in serve sftp/ftp #4968 2021-01-27 13:41:32 +03:00
fs Fix test failure in different local time zones 2021-01-27 15:05:35 +00:00
fstest fstests: only test with ASCII uppercase for case insensitive tests 2021-01-27 14:28:17 +00:00
graphics build: Add file properties and icon to Windows executable (fixes #4304) 2020-06-11 09:26:14 +01:00
lib mount: more user friendly mounting as network drive on windows 2020-12-28 13:59:34 +00:00
vfs docs: fix markup of arguments #4276 2021-01-25 22:40:46 +03:00
.gitattributes build: add azure pipelines build 2019-08-06 10:31:32 +01:00
.gitignore lib: Add file name compression 2020-08-13 16:14:11 +01:00
.golangci.yml build: move linter build tags into Makefile to fix golangci-lint 2019-04-12 15:48:36 +01:00
CONTRIBUTING.md docs: spelling: etc. 2020-10-28 18:16:23 +00:00
COPYING Initial commit - some small parts working 2012-11-18 17:32:31 +00:00
Dockerfile build: fix custom timezone in Docker image 2020-06-17 10:43:03 +01:00
MAINTAINERS.md compress: finish docs 2020-12-02 16:30:02 +01:00
MANUAL.html docs: fix a typo in the dedupe docs 2021-01-05 15:46:57 +00:00
MANUAL.md docs: fix small spelling nit, file -> find in FAQ 2021-01-13 17:36:57 +00:00
MANUAL.txt docs: fix a typo in the dedupe docs 2021-01-05 15:46:57 +00:00
Makefile build: add -buildmode to cross-compile.go 2021-01-08 08:58:50 +00:00
README.md HDFS (Hadoop Distributed File System) implementation - #42 2021-01-07 09:48:51 +00:00
RELEASE.md build: Stop tagged releases making a current beta - fixes #4789 2020-11-25 09:48:29 +00:00
VERSION Start v1.54.0-DEV development 2020-09-02 17:52:58 +01:00
go.mod HDFS (Hadoop Distributed File System) implementation - #42 2021-01-07 09:48:51 +00:00
go.sum HDFS (Hadoop Distributed File System) implementation - #42 2021-01-07 09:48:51 +00:00
notes.txt docs: spelling: etc. 2020-10-28 18:16:23 +00:00
rclone.1 Version v1.53.0 2020-09-02 17:00:18 +01:00
rclone.go lib: add plugin support 2019-09-29 11:05:10 +01:00

README.md

rclone logo

Website | Documentation | Download | Contributing | Changelog | Installation | Forum

Build Status Go Report Card GoDoc Docker Pulls

Rclone

Rclone ("rsync for cloud storage") is a command line program to sync files and directories to and from different cloud storage providers.

Storage providers

Please see the full list of all storage providers and their features

Features

  • MD5/SHA-1 hashes checked at all times for file integrity
  • Timestamps preserved on files
  • Partial syncs supported on a whole file basis
  • Copy mode to just copy new/changed files
  • Sync (one way) mode to make a directory identical
  • Check mode to check for file hash equality
  • Can sync to and from network, e.g. two different cloud accounts
  • Optional large file chunking (Chunker)
  • Optional transparent compression (Compress)
  • Optional encryption (Crypt)
  • Optional cache (Cache)
  • Optional FUSE mount (rclone mount)
  • Multi-threaded downloads to local disk
  • Can serve local or remote files over HTTP/WebDav/FTP/SFTP/dlna

Installation & documentation

Please see the rclone website for:

Downloads

License

This is free software under the terms of MIT the license (check the COPYING file included in this package).