1
mirror of https://github.com/rclone/rclone synced 2024-11-14 13:36:24 +01:00
Go to file
Nick Craig-Wood 5b0f9dc4e3 local: fix copying from Windows Volume Shadows
For some files the Windows Volume Shadow Service (VSS) advertises the
file size as X in the directory listing but returns a different number
Y on stat-ing the file. If the file is opened and read there are Y
bytes available for reading.

Existing copy tools copy Y bytes rather than X so for consistency
rclone should do the same.

This fixes the problem by stat-ing the file immediately before opening
it. This will also reduce the unnecessary occurrence of "can't copy -
source file is being updated" errors; if the file has finished
changing by the time we come to copy it then we now can copy it
successfully.

See: https://forum.rclone.org/t/consistently-getting-corrupted-on-transfer-sizes-differ-syncing-to-an-smb-share/42218/
2023-10-19 16:38:10 +01:00
.github build: fix docker build running out of space 2023-10-18 17:55:19 +01:00
backend local: fix copying from Windows Volume Shadows 2023-10-19 16:38:10 +01:00
bin docs: change authors email for SimJoSt 2023-10-18 16:31:15 +01:00
cmd selfupdate: fix "invalid hashsum signature" error 2023-10-18 17:55:19 +01:00
cmdtest cmdtest: fix typos found by codespell 2023-03-24 20:44:25 +00:00
contrib docker volume plugin: add missing fuse3 dependency #6844 2023-03-15 15:57:53 +00:00
docs Changelog updates from Version 1.64.2 2023-10-19 12:34:34 +01:00
fs operations: fix error message on delete to have file name - fixes #7355 2023-10-11 11:34:11 +01:00
fstest selfupdate: fix "invalid hashsum signature" error 2023-10-18 17:55:19 +01:00
graphics build: Add file properties and icon to Windows executable (fixes #4304) 2020-06-11 09:26:14 +01:00
lib lib/http: export basic go strings functions 2023-10-16 19:46:19 +01:00
librclone librclone:Added example on using librclone with golang. 2023-03-17 12:00:27 +00:00
vfs nfsmount: New mount command to provide mount mechanism on macOS without FUSE 2023-10-06 14:08:20 +01:00
.gitattributes build: add azure pipelines build 2019-08-06 10:31:32 +01:00
.gitignore gitignore: add .DS_Store and remove *.log 2023-08-12 17:24:21 +01:00
.golangci.yml build: re-enable revive linters 2023-08-29 13:01:15 +01:00
CONTRIBUTING.md s3: add docs on how to add a new provider 2023-09-23 14:36:48 +01:00
COPYING Initial commit - some small parts working 2012-11-18 17:32:31 +00:00
Dockerfile docker: add missing fuse3 dependency - fixes #6844 2023-03-15 10:54:30 +00:00
go.mod azureblob: add support cold tier 2023-10-18 17:54:25 +01:00
go.sum azureblob: add support cold tier 2023-10-18 17:54:25 +01:00
MAINTAINERS.md Add @nielash as bisync maintainer 2023-09-05 04:05:39 -04:00
Makefile build: add btesth target to output beta log in HTML for email pasting 2023-09-21 16:15:48 +01:00
MANUAL.html Version v1.64.0 2023-09-11 15:59:44 +01:00
MANUAL.md Version v1.64.0 2023-09-11 15:59:44 +01:00
MANUAL.txt Version v1.64.0 2023-09-11 15:59:44 +01:00
notes.txt docs: spelling: etc. 2020-10-28 18:16:23 +00:00
rclone.1 Version v1.64.0 2023-09-11 15:59:44 +01:00
rclone.go lib: add plugin support 2019-09-29 11:05:10 +01:00
README.md s3: add Linode provider 2023-09-23 14:34:00 +01:00
RELEASE.md docs: add notes on how to update the website between releases 2023-09-13 17:02:29 +01:00
VERSION Start v1.65.0-DEV development 2023-09-12 11:24:17 +01:00

rclone logo 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

Virtual storage providers

These backends adapt or modify other storage providers

  • Alias: rename existing remotes 📄
  • Cache: cache remotes (DEPRECATED) 📄
  • Chunker: split large files 📄
  • Combine: combine multiple remotes into a directory tree 📄
  • Compress: compress files 📄
  • Crypt: encrypt files 📄
  • Hasher: hash files 📄
  • Union: join multiple remotes to work together 📄

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 the MIT license (check the COPYING file included in this package).