"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Find a file
Nick Craig-Wood 4d195d5a52 gcs: Fix upload errors when uploading pre 1970 files
Before this change rclone attempted to set the "updated" field in
uploaded objects to the modification time.

However when this modification time was before 1970, google drive
would return the rather cryptic error:

    googleapi: Error 400: Invalid value for UnsignedLong: -42000, invalid

However API docs: https://cloud.google.com/storage/docs/json_api/v1/objects#resource
state the "updated" field is read only and tests confirm that.  Even
though the field is read only, it looks like Google parses it.

This change therefore removes the attempt to set the "updated" field
(which was doing nothing anyway) and fixes the problem uploading pre
1970 files.

See #3196 and https://forum.rclone.org/t/invalid-value-for-unsignedlong-file-missing-date-modified/3466
2019-06-12 10:51:49 +01:00
.circleci build: don't attempt to upload artifacts for pull requests on circleci 2019-01-25 17:27:02 +00:00
.github Revamp issue and PR templates and CONTRIBUTING guide 2018-09-21 18:17:32 +01:00
backend gcs: Fix upload errors when uploading pre 1970 files 2019-06-12 10:51:49 +01:00
bin bin/get-github-release: fetch the most recent not the least recent 2019-03-18 11:29:37 +00:00
cmd rc: Skip auth for OPTIONS request 2019-06-10 19:33:45 +01:00
docs Use rclone.conf from rclone executable directory if already existing 2019-06-12 10:08:00 +01:00
fs Use rclone.conf from rclone executable directory if already existing 2019-06-12 10:08:00 +01:00
fstest fstests: add FsRootCollapse test - #3164 2019-06-06 15:48:46 +01:00
graphics New graphics used by forum.rclone.org 2016-10-04 11:31:42 +01:00
lib lib/env: Make env_test.go support Windows 2019-05-14 07:55:08 +01:00
vendor vendor: update github.com/jlaffaye/ftp 2019-06-09 16:06:39 +01:00
vfs Look for Fs in the cache rather than calling NewFs directly 2019-05-27 16:14:55 +01:00
.appveyor.yml build: make CIs available for forks 2018-09-07 10:17:26 +01:00
.gitignore cache: first version 2017-11-15 15:23:21 +00:00
.golangci.yml build: move linter build tags into Makefile to fix golangci-lint 2019-04-12 15:48:36 +01:00
.pkgr.yml Updated .pkgr.yml file to use rclone as its own cli. 2017-03-29 17:48:53 +01:00
.travis.yml build: stop using a GITHUB_USER as secure variable to fix build log 2019-06-05 16:23:16 +01:00
CONTRIBUTING.md docs: fix various typos 2019-03-28 15:12:51 +00:00
COPYING Initial commit - some small parts working 2012-11-18 17:32:31 +00:00
go.mod vendor: update github.com/jlaffaye/ftp 2019-06-09 16:06:39 +01:00
go.sum vendor: update github.com/jlaffaye/ftp 2019-06-09 16:06:39 +01:00
MAINTAINERS.md Add Sebastian Bünger - @buengese to the MAINTAINERS list 2018-12-29 16:08:40 +00:00
Makefile docs: fix doc generators home directory in backend docs 2019-05-13 17:28:36 +01:00
MANUAL.html Version v1.47.0 2019-04-13 11:01:58 +01:00
MANUAL.md Version v1.47.0 2019-04-13 11:01:58 +01:00
MANUAL.txt Version v1.47.0 2019-04-13 11:01:58 +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.47.0 2019-04-13 11:01:58 +01:00
rclone.go build: fixup code formatting after goimports change 2018-10-13 22:47:12 +01:00
README.md docs: add serve to README, main page and menu 2019-05-11 23:39:50 +01:00
RELEASE.md vendor: update all dependencies 2019-04-15 20:12:56 +01:00

Logo

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

Build Status Windows Build Status CircleCI Go Report Card GoDoc

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 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).