forked from TrueCloudLab/rclone
"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
The previous behavior of the remotes completion was that only alphanumeric characters were allowed in a remote name. This limitation has been lifted somewhat by #2985, which also allowed an underscore. With the new implementation introduced in this commit, the completion of the remote name has been simplified: If there is no colon (":") in the current word, then complete remote name. Otherwise, complete the path inside the specified remote. This allows correct completion of all remote names that are allowed by the config (including - and _). Actually it matches much more than that, even remote names that are not allowed by the config, but in such a case there already would be a wrong identifier in the configuration file. With this simpler string comparison, we can get rid of the regular expression, which makes the completion multiple times faster. For a sample benchmark, try the following: # Old way $ time bash -c 'for _ in {1..1000000}; do [[ remote:path =~ ^[[:alnum:]]*$ ]]; done' real 0m15,637s user 0m15,613s sys 0m0,024s # New way $ time bash -c 'for _ in {1..1000000}; do [[ remote:path != *:* ]]; done' real 0m1,324s user 0m1,304s sys 0m0,020s |
||
---|---|---|
.circleci | ||
.github | ||
backend | ||
bin | ||
cmd | ||
docs | ||
fs | ||
fstest | ||
graphics | ||
lib | ||
vendor | ||
vfs | ||
.appveyor.yml | ||
.gitignore | ||
.golangci.yml | ||
.pkgr.yml | ||
.travis.yml | ||
CONTRIBUTING.md | ||
COPYING | ||
go.mod | ||
go.sum | ||
MAINTAINERS.md | ||
Makefile | ||
MANUAL.html | ||
MANUAL.md | ||
MANUAL.txt | ||
notes.txt | ||
rclone.1 | ||
rclone.go | ||
README.md | ||
RELEASE.md |
Website | Documentation | Download | Contributing | Changelog | Installation | Forum | G+
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
- Alibaba Cloud (Aliyun) Object Storage System (OSS) 📄
- Amazon Drive 📄 (See note)
- Amazon S3 📄
- Backblaze B2 📄
- Box 📄
- Ceph 📄
- DigitalOcean Spaces 📄
- Dreamhost 📄
- Dropbox 📄
- FTP 📄
- Google Cloud Storage 📄
- Google Drive 📄
- HTTP 📄
- Hubic 📄
- Jottacloud 📄
- IBM COS S3 📄
- Koofr 📄
- Memset Memstore 📄
- Mega 📄
- Microsoft Azure Blob Storage 📄
- Microsoft OneDrive 📄
- Minio 📄
- Nextcloud 📄
- OVH 📄
- OpenDrive 📄
- OpenStack Swift 📄
- Oracle Cloud Storage 📄
- ownCloud 📄
- pCloud 📄
- put.io 📄
- QingStor 📄
- Rackspace Cloud Files 📄
- Scaleway 📄
- SFTP 📄
- Wasabi 📄
- WebDAV 📄
- Yandex Disk 📄
- The local filesystem 📄
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)
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).