Go to file
Nick Craig-Wood 0902e5c48e vfs: Ignore ECLOSED in Setattr when truncating file handles
Before this change file handles could get closed while the truncate
the file handles loop was running.

This would mean that ocassionally an ECLOSED (which is translated into
EBADF by cmd/mount) would spuriously be returned if Release happened
to happen in the middle of a Truncate call (Setattr called with
size=0).

This change ignores the ECLOSED while truncating file handles.

See: https://forum.rclone.org/t/writes-to-wasabi-mount-failing-with-bad-file-descriptor-intermittently/26321
2021-09-28 11:51:41 +01:00
.github build: update Go to 1.16 and NDK to 22b for android/any 2021-09-03 13:32:48 +03:00
backend seafile: fix 2fa state machine 2021-09-18 12:44:59 +01:00
bin docs: update ignored email as per #5586 2021-09-12 18:46:37 +01:00
cmd build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
cmdtest cmdtest: end-to-end test for commands, flags and environment variables 2021-07-05 16:38:20 +01:00
contrib/docker Contrib: Add sample WebDAV server Docker Compose manifest. 2019-09-15 16:06:54 +01:00
docs Add HNGamingUK to contributors 2021-09-28 11:51:41 +01:00
fs build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
fstest Use binary prefixes for size and rate units 2021-04-27 02:25:52 +03:00
graphics build: Add file properties and icon to Windows executable (fixes #4304) 2020-06-11 09:26:14 +01:00
lib build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
librclone librclone: add missing sync/* rc methods 2021-07-20 16:59:02 +01:00
vfs vfs: Ignore ECLOSED in Setattr when truncating file handles 2021-09-28 11:51:41 +01:00
.gitattributes build: add azure pipelines build 2019-08-06 10:31:32 +01:00
.gitignore docs for serve docker and docker plugin (#5415) 2021-07-10 23:56:09 +03:00
.golangci.yml build: move linter build tags into Makefile to fix golangci-lint 2019-04-12 15:48:36 +01:00
CONTRIBUTING.md cmdtest: end-to-end test for commands, flags and environment variables 2021-07-05 16:38:20 +01:00
COPYING Initial commit - some small parts working 2012-11-18 17:32:31 +00:00
Dockerfile build: add an rclone user to the Docker image but don't use it by default 2021-02-11 17:45:44 +00:00
MAINTAINERS.md compress: finish docs 2020-12-02 16:30:02 +01:00
MANUAL.html Version v1.56.0 2021-07-20 19:45:41 +01:00
MANUAL.md Version v1.56.0 2021-07-20 19:45:41 +01:00
MANUAL.txt Version v1.56.0 2021-07-20 19:45:41 +01:00
Makefile build docker plugin (#5415) 2021-07-10 23:56:09 +03:00
README.md deprecate cache backend (#5382) 2021-06-10 19:52:55 +03:00
RELEASE.md build: update notes on how to build the release manually with docker 2021-03-24 14:22:27 +00:00
VERSION Start v1.57.0-DEV development 2021-08-01 13:43:36 +01:00
go.mod cmd/version: add support for openbsd/386 2021-09-02 11:13:12 +03:00
go.sum cmd/version: add support for openbsd/386 2021-09-02 11:13:12 +03:00
notes.txt docs: spelling: etc. 2020-10-28 18:16:23 +00:00
rclone.1 Version v1.56.0 2021-07-20 19:45:41 +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 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).