"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 to file
Nick Craig-Wood 84191ac6dc vfs: fix incorrect modtime for mv into mount with --vfs-cache-modes write
When a file has its modtime set while it is open we delay setting the
modtime until the file is closed.

The file is then uploaded in Flush. In Release we check the cached
file has been uploaded by comparing modtimes and or hashes and upload
it again if it has changed.

Before this change we forgot to change the time on the cached file
when we updated the time file on the object, so this mean that Release
reset the time to the wrong time and uploaded the file again on
remotes which don't support hashes (eg crypt).

The fix was to set the modtime of the cached file at the same time we
set the modtime of the remote object. This means that the files check
as identical in Release so it doesn't try to upload the file.

This means that we avoid a double upload and the modtime is correct.

See: https://forum.rclone.org/t/modification-time-with-vfs-cache/13906/8
2020-01-19 12:52:48 +00:00
.github build: fix CI for forks and related docs (#3847) 2020-01-09 01:27:44 +08:00
backend build: implement a framework for starting test servers during tests 2020-01-18 16:47:37 +00:00
bin The memory backend 2020-01-18 10:41:08 +00:00
cmd dedupe: add missing modes to help string 2020-01-19 11:09:45 +00:00
contrib/docker Contrib: Add sample WebDAV server Docker Compose manifest. 2019-09-15 16:06:54 +01:00
docs The memory backend 2020-01-18 10:41:08 +00:00
fs operations: make NewOverrideObjectInfo public and factor uses 2020-01-18 11:41:33 +00:00
fstest build: implement a framework for starting test servers during tests 2020-01-18 16:47:37 +00:00
graphics graphics: add more differently sized logos 2020-01-15 16:25:20 +00:00
lib rest: call the Signer with the mutex unlocked 2020-01-17 15:00:23 +00:00
vendor vendor: update t3rm1n4l/go-mega - fixes mega: couldn't login: crypto/aes: invalid key size 0 2020-01-17 21:42:32 +00:00
vfs vfs: fix incorrect modtime for mv into mount with --vfs-cache-modes write 2020-01-19 12:52:48 +00:00
.gitattributes build: add azure pipelines build 2019-08-06 10:31:32 +01:00
.gitignore chore: update .gitignore 2019-06-19 11:59:46 +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 sugarsync: new backend - fixes #622 2020-01-17 17:39:34 +00:00
COPYING Initial commit - some small parts working 2012-11-18 17:32:31 +00:00
Dockerfile Dockerfile fixes 2019-09-17 10:12:32 +01:00
go.mod vendor: update t3rm1n4l/go-mega - fixes mega: couldn't login: crypto/aes: invalid key size 0 2020-01-17 21:42:32 +00:00
go.sum vendor: update t3rm1n4l/go-mega - fixes mega: couldn't login: crypto/aes: invalid key size 0 2020-01-17 21:42:32 +00:00
MAINTAINERS.md Add Ivan Andreev to maintainers 2019-10-20 00:33:16 +03:00
Makefile build: compress the test builds 2020-01-17 11:47:40 +00:00
MANUAL.html Version v1.50.0 2019-10-26 11:04:54 +01:00
MANUAL.md Version v1.50.0 2019-10-26 11:04:54 +01:00
MANUAL.txt Version v1.50.0 2019-10-26 11:04:54 +01:00
notes.txt Replace test_all.sh with test_all.go which is cross platform and parallel 2015-12-30 09:26:34 +00:00
rclone.1 Version v1.50.0 2019-10-26 11:04:54 +01:00
rclone.go lib: add plugin support 2019-09-29 11:05:10 +01:00
README.md The memory backend 2020-01-18 10:41:08 +00:00
RELEASE.md Start v1.50.1-DEV development 2019-11-02 15:26:01 +00:00
VERSION Start v1.50.2-DEV development 2019-11-19 16:51:32 +00:00

rclone logo

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

Build Status Windows Build Status Build Status CircleCI 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 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).