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
1f3778dbfb
this change adds the depth parameter to listAll and readMetaDataForPath. this allows recursive calls of these methods with a different depth header. Sharepoint won't list files if the depth header is != 0. If that is the case, it will just return a error 404 although the file exists. Since it is not possible to determine if a path should be a file or a directory, rclone has to make a request with depth = 1 first. On success we are sure that the path is a directory and the listing will work. If this request returns error 404, the path either doesn't exist or it is a file. To be sure, we can try again with depth set to 0. If it still fails, the path really doesn't exist, else we found our file. |
||
---|---|---|
.circleci | ||
backend | ||
bin | ||
cmd | ||
docs | ||
fs | ||
fstest | ||
graphics | ||
lib | ||
vendor | ||
vfs | ||
.appveyor.yml | ||
.gitignore | ||
.gometalinter.json | ||
.pkgr.yml | ||
.travis.yml | ||
CONTRIBUTING.md | ||
COPYING | ||
Gopkg.lock | ||
Gopkg.toml | ||
ISSUE_TEMPLATE.md | ||
MAINTAINERS.md | ||
Makefile | ||
MANUAL.html | ||
MANUAL.md | ||
MANUAL.txt | ||
notes.txt | ||
rclone.1 | ||
rclone.go | ||
README.md | ||
RELEASE.md |
Website | Documentation | Contributing | Changelog | Installation | Forum G+
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
- 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).