Go to file
Nick Craig-Wood 59e14c25df vfs: enable rename for nearly all remotes using server side Move or Copy
Before this change remotes without server side Move (eg swift, s3,
gcs) would not be able to rename files.

After it means nearly all remotes will be able to rename files on
rclone mount with the notable exceptions of b2 and yandex.

This changes checks to see if the remote can do Move or Copy then
calls `operations.Move` to do the actual move.  This will do a server
side Move or Copy but won't download and re-upload the file.

It also checks to see if the destination exists first which avoids
conflicts or duplicates.

Fixes #1965
Fixes #2569
2018-09-29 14:56:20 +01:00
.circleci
.github
backend webdav/sharepoint: renew cookies after 12hrs 2018-09-26 13:04:41 +01:00
bin
cmd
docs Add Frantisek Fuka to contributors 2018-09-29 14:55:11 +01:00
fs vfs: enable rename for nearly all remotes using server side Move or Copy 2018-09-29 14:56:20 +01:00
fstest
graphics
lib
vendor
vfs vfs: enable rename for nearly all remotes using server side Move or Copy 2018-09-29 14:56:20 +01:00
.appveyor.yml
.gitignore
.gometalinter.json
.pkgr.yml
.travis.yml
CONTRIBUTING.md
COPYING
MAINTAINERS.md
MANUAL.html
MANUAL.md
MANUAL.txt
Makefile
README.md
RELEASE.md
go.mod
go.sum
notes.txt
rclone.1
rclone.go

README.md

Logo

Website | Documentation | Contributing | Changelog | Installation | Forum G+

Build Status Windows Build Status CircleCI GoDoc

Rclone is a command line program to sync files and directories to and from

  • Amazon Drive (See note)
  • Amazon S3 / Dreamhost / Ceph / Minio / Wasabi
  • Backblaze B2
  • Box
  • Dropbox
  • FTP
  • Google Cloud Storage
  • Google Drive
  • HTTP
  • Hubic
  • Jottacloud
  • Mega
  • Microsoft Azure Blob Storage
  • Microsoft OneDrive
  • OpenDrive
  • Openstack Swift / Rackspace cloud files / Memset Memstore / OVH / Oracle Cloud Storage
  • pCloud
  • QingStor
  • SFTP
  • Webdav / Owncloud / Nextcloud
  • Yandex Disk
  • The local filesystem

Features

  • MD5/SHA1 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, eg two different cloud accounts
  • Optional encryption (Crypt)
  • Optional FUSE mount

See the home page for installation, usage, documentation, changelog and configuration walkthroughs.

License

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