Compare commits

...
Author SHA1 Message Date
Nick Craig-Wood aa031c51cc Version v1.74.0 2026-05-01 15:56:56 +01:00
Nick Craig-Wood 45eb93c3af docs: add missing Huawei Drive docs 2026-05-01 14:06:11 +01:00
18899a58f3 Add Huawei Drive support
Add Huawei Drive backend implementation and tests

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Nick Craig-Wood <nick@craig-wood.com>
2026-05-01 13:41:07 +01:00
Nick Craig-Wood 7c3909589c s3: add Impossible Cloud as a new S3 provider 2026-05-01 12:47:07 +01:00
Nick Craig-Wood d6377a283d build: add make fetch-gui-and-commit to fetch and commit the embedded GUI 2026-05-01 12:46:46 +01:00
Nick Craig-Wood 56b7d7500e gui: embed compressed dist.zip in the binary for smaller, reproducible builds
Previously `make fetch-gui` extracted the GUI release into cmd/gui/dist/
and the unpacked tree was embedded uncompressed via `//go:embed dist`.

This commits and embeds the GUI bundle (dist.zip) and its release tag
(dist.tag) to the repo so:

- the rclone binary is smaller
- `go build` works on a fresh clone without first running fetch-gui
- a given commit pins an exact GUI version

The "Fetch GUI" step was removed from .github/workflows/build.yml.
2026-05-01 12:46:46 +01:00
Nick Craig-Wood 7400a811fd docs: update the GUI docs to reflect the new rclone gui 2026-05-01 12:46:46 +01:00
Nick Craig-Wood bd62357998 Add John Volk to contributors 2026-05-01 12:46:46 +01:00
John Volk 306fb0a304 drime: fix listings of large directories
next_page is not currently being returned on listings which is causing
the rclone listing code to go wrong. This was returned so is likely a
regression in Drime.

This changes the page counter to calculate using current_page and
last_page. last_page on the first page request is just current_page+1.
drime appears to be capping per_page to 200. as more pages are
requested, last_page increments by 1 until current_page = last_page
2026-05-01 12:37:38 +01:00
Nick Craig-Wood 9c67942986 docs: fix iCloud docs after website update (missed in the merge) 2026-04-30 16:45:49 +01:00
Nick Craig-Wood 0812cee9e9 protondrive: fix server-side moveto and DirMove against current API
Bump go-proton-api and Proton-API-Bridge to versions that send the new
NameSignatureEmail field and omit NodePassphraseSignature/SignatureEmail
for ordinary nodes, matching the schema accepted by the Proton Drive
API. Without this rclone moveto, --backup-dir, server-side rename and
DirMove all failed with "value cannot be empty" / "outdated app" 422.

Fixes #8512
2026-04-30 12:40:52 +01:00
69 changed files with 21167 additions and 3647 deletions

No files matched your search

-5
View File
@@ -164,11 +164,6 @@ jobs:
printf "\n\nSystem environment:\n\n"
env
- name: Fetch GUI
run: make fetch-gui
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build rclone
run: |
make
Generated
+4967 -2058
View File
File diff suppressed because it is too large. Load diff
Generated
+2916 -435
View File
File diff suppressed because it is too large. Load diff
Generated
+2991 -379
View File
File diff suppressed because it is too large. Load diff
+4 -1
View File
@@ -45,7 +45,7 @@ LINTTAGS=--build-tags "$(GOTAGS)"
endif
LDFLAGS=--ldflags "-s -X github.com/rclone/rclone/fs.Version=$(TAG)"
.PHONY: rclone test_all vars version fetch-gui
.PHONY: rclone test_all vars version fetch-gui fetch-gui-and-commit
rclone:
ifeq ($(GO_OS),windows)
@@ -62,6 +62,9 @@ endif
fetch-gui:
$(SHELL) ./bin/fetch-gui-dist.sh
fetch-gui-and-commit:
$(SHELL) ./bin/fetch-gui-dist.sh --commit
test_all:
go install $(LDFLAGS) $(BUILDTAGS) $(BUILD_ARGS) github.com/rclone/rclone/fstest/test_all
+2
View File
@@ -62,12 +62,14 @@ directories to and from different cloud storage providers.
- Hitachi Content Platform (HCP) [:page_facing_up:](https://rclone.org/s3/#hcp)
- HTTP [:page_facing_up:](https://rclone.org/http/)
- Huawei Cloud Object Storage Service(OBS) [:page_facing_up:](https://rclone.org/s3/#huawei-obs)
- Huawei Drive [:page_facing_up:](https://rclone.org/huaweidrive/)
- iCloud Drive [:page_facing_up:](https://rclone.org/iclouddrive/)
- ImageKit [:page_facing_up:](https://rclone.org/imagekit/)
- Internet Archive [:page_facing_up:](https://rclone.org/internetarchive/)
- Internxt [:page_facing_up:](https://rclone.org/internxt/)
- Jottacloud [:page_facing_up:](https://rclone.org/jottacloud/)
- IBM COS S3 [:page_facing_up:](https://rclone.org/s3/#ibm-cos-s3)
- Impossible Cloud [:page_facing_up:](https://rclone.org/s3/#impossible-cloud)
- Intercolo Object Storage [:page_facing_up:](https://rclone.org/s3/#intercolo)
- IONOS Cloud [:page_facing_up:](https://rclone.org/s3/#ionos)
- Koofr [:page_facing_up:](https://rclone.org/koofr/)
+1
View File
@@ -11,6 +11,7 @@ This file describes how to make the various kinds of releases
- git checkout master # see below for stable branch
- git pull # IMPORTANT
- make fetch-gui-and-commit # bump the embedded GUI if rclone-web has a newer release
- git status - make sure everything is checked in
- Check GitHub actions build for master is Green
- make test # see integration test server or run locally
+1
View File
@@ -32,6 +32,7 @@ import (
_ "github.com/rclone/rclone/backend/hdfs"
_ "github.com/rclone/rclone/backend/hidrive"
_ "github.com/rclone/rclone/backend/http"
_ "github.com/rclone/rclone/backend/huaweidrive"
_ "github.com/rclone/rclone/backend/iclouddrive"
_ "github.com/rclone/rclone/backend/imagekit"
_ "github.com/rclone/rclone/backend/internetarchive"
+2 -2
View File
@@ -77,9 +77,9 @@ type Listing struct {
Data []Item `json:"data"`
From int `json:"from"`
LastPage int `json:"last_page"`
NextPage int `json:"next_page"`
NextPageURL string `json:"next_page_url"`
PerPage int `json:"per_page"`
PrevPage int `json:"prev_page"`
PrevPageURL string `json:"prev_page_url"`
To int `json:"to"`
Total int `json:"total"`
}
+2 -2
View File
@@ -565,10 +565,10 @@ OUTER:
break OUTER
}
}
if result.NextPage == 0 {
if result.CurrentPage == result.LastPage {
break
}
page = result.NextPage
page = result.CurrentPage + 1
}
return found, err
}
+44
View File
@@ -0,0 +1,44 @@
api文档
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-public-info-0000001050159641
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-aboutget-0000001050151684
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-filescopy-0000001050151696
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-filescreate-0000001050151686
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-filescreatecontent-0000001050151688
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-filescreatemultipart-0000001050151694
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-filescreateresume-0000001050151690
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-filesdelete-0000001050153647
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-filesemptyrecycle-0000001050151698
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-filesgetmetadata-0000001050153645
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-filesgetcontent-0000001050153651
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-fileslist-0000001050153649
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-filesresume-0000001050153643
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-filessubscribe-0000001050153637
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-filesupdate-0000001050153639
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-filesupdatepatchcontent-0000001050151700
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-filesupdatepatchmultipart-0000001050153653
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-filesupdatepatchresume-0000001050153641
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-filesupdateputcontent-0000001050151702
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-filesupdateputmultipart-0000001050151704
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-filesupdateputresume-0000001050151692
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-thumbnailget-0000001050151706
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-changesgetstartcursor-0000001050153659
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-changeslist-0000001050151710
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-changessubscribe-0000001050151708
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-channelsstop-0000001050151712
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-commentscreate-0000001050151716
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-commentsdelete-0000001050151718
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-commentsget-0000001050153665
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-commentslist-0000001050151714
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-commentsupdate-0000001050153667
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-repliescreate-0000001050151722
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-repliesdelete-0000001050151724
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-repliesget-0000001050153671
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-replieslist-0000001050151720
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-repliesupdate-0000001050153673
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-smallthumbnailget-0000001050151726
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-commentsdelete-0000001050188702
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-commentsget-0000001050430911
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-historyversionsgetcontent-0000001050747405
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-commentslist-0000001050188698
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-commentsupdate-0000001050190853
https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-api-batchcallback-0000001050727110
+255
View File
@@ -0,0 +1,255 @@
// Package api provides types used by the Huawei Drive API.
package api
import (
"time"
)
// About represents response to About.get endpoint
type About struct {
StorageQuota struct {
UsedSpace string `json:"usedSpace"`
UserCapacity string `json:"userCapacity"`
} `json:"storageQuota"`
MaxThumbnailSize int64 `json:"maxThumbnailSize"`
NeedUpdate bool `json:"needUpdate"`
MaxFileUploadSize string `json:"maxFileUploadSize"`
Domain string `json:"domain"`
Category string `json:"category"`
User User `json:"user"`
FolderLevel int `json:"folderLevel"`
}
// User represents a user
type User struct {
PermissionID string `json:"permissionId"`
DisplayName string `json:"displayName"`
Me bool `json:"me"`
Category string `json:"category"`
}
// FileList represents response to Files.list endpoint
type FileList struct {
Files []File `json:"files"`
NextPageToken string `json:"nextPageToken,omitempty"`
Category string `json:"category"`
}
// File represents a file or folder in Huawei Drive
type File struct {
ID string `json:"id"`
FileName string `json:"fileName"`
OriginalFilename string `json:"originalFilename,omitempty"`
Description string `json:"description,omitempty"`
MimeType string `json:"mimeType"`
Category string `json:"category"`
Size int64 `json:"size,omitempty"`
SHA256 string `json:"sha256,omitempty"`
CreatedTime time.Time `json:"createdTime"`
EditedTime time.Time `json:"editedTime"`
EditedByMeTime time.Time `json:"editedByMeTime,omitempty"`
ParentFolder []string `json:"parentFolder,omitempty"`
Owners []User `json:"owners"`
LastEditor User `json:"lastEditor"`
Permissions []Permission `json:"permissions"`
PermissionIDs []string `json:"permissionIds"`
Capabilities FileCapabilities `json:"capabilities"`
OwnedByMe bool `json:"ownedByMe"`
EditedByMe bool `json:"editedByMe"`
ViewedByMe bool `json:"viewedByMe"`
HasShared bool `json:"hasShared"`
Recycled bool `json:"recycled"`
DirectlyRecycled bool `json:"directlyRecycled"`
Favorite bool `json:"favorite"`
ExistThumbnail bool `json:"existThumbnail"`
ThumbnailVersion int64 `json:"thumbnailVersion"`
IconDownloadLink string `json:"iconDownloadLink,omitempty"`
ContentDownloadLink string `json:"contentDownloadLink,omitempty"`
ContentVersion string `json:"contentVersion,omitempty"`
LastHistoryVersionID string `json:"lastHistoryVersionId,omitempty"`
OccupiedSpace int64 `json:"occupiedSpace,omitempty"`
Version int64 `json:"version"`
WritersHasSharePermission bool `json:"writersHasSharePermission"`
WriterHasCopyPermission bool `json:"writerHasCopyPermission"`
Containers []string `json:"containers"`
Properties map[string]interface{} `json:"properties,omitempty"`
AppSettings map[string]interface{} `json:"appSettings,omitempty"`
ContentExtras *ContentExtras `json:"contentExtras,omitempty"`
}
// IsDir returns true if the file is a directory
func (f *File) IsDir() bool {
return f.MimeType == FolderMimeType
}
// Permission represents file permission
type Permission struct {
ID string `json:"id"`
Type string `json:"type"`
Role string `json:"role"`
DisplayName string `json:"displayName,omitempty"`
Deleted bool `json:"deleted"`
AllowFileDiscovery bool `json:"allowFileDiscovery,omitempty"`
Category string `json:"category"`
}
// FileCapabilities represents capabilities for a file
type FileCapabilities struct {
DownloadPermission bool `json:"downloadPermission"`
RenameFilePermission bool `json:"renameFilePermission"`
CommentPermission bool `json:"commentPermission"`
DeletePermission bool `json:"deletePermission"`
ReadHistoryVersionPermission bool `json:"readHistoryVersionPermission"`
RecyclePermission bool `json:"recyclePermission"`
AddChildNodePermission bool `json:"addChildNodePermission"`
UnrecyclePermission bool `json:"unrecyclePermission"`
WriterHasChangeCopyPermission bool `json:"writerHasChangeCopyPermission"`
CopyPermission bool `json:"copyPermission"`
EditContentPermission bool `json:"editContentPermission"`
RemoveChildNodePermission bool `json:"removeChildNodePermission"`
EditPermission bool `json:"editPermission"`
ListChildNodePermission bool `json:"listChildNodePermission"`
ShareFilePermission bool `json:"shareFilePermission"`
}
// ContentExtras represents additional content information
type ContentExtras struct {
Thumbnail *Thumbnail `json:"thumbnail,omitempty"`
}
// Thumbnail represents thumbnail information
type Thumbnail struct {
Content string `json:"content"` // base64 encoded
MimeType string `json:"mimeType"`
}
// CreateFolderRequest represents request to create a folder
type CreateFolderRequest struct {
FileName string `json:"fileName"`
Description string `json:"description,omitempty"`
MimeType string `json:"mimeType"`
ParentFolder []string `json:"parentFolder,omitempty"`
Favorite bool `json:"favorite,omitempty"`
Properties map[string]interface{} `json:"properties,omitempty"`
AppSettings map[string]interface{} `json:"appSettings,omitempty"`
AutoRename int `json:"autoRename,omitempty"`
}
// UpdateFileRequest represents request to update a file
type UpdateFileRequest struct {
FileName string `json:"fileName,omitempty"`
Description string `json:"description,omitempty"`
MimeType string `json:"mimeType,omitempty"`
Favorite *bool `json:"favorite,omitempty"`
Recycled *bool `json:"recycled,omitempty"`
OriginalFilename string `json:"originalFilename,omitempty"`
WriterHasCopyPermission *bool `json:"writerHasCopyPermission,omitempty"`
WritersHasSharePermission *bool `json:"writersHasSharePermission,omitempty"`
Properties map[string]interface{} `json:"properties,omitempty"`
AppSettings map[string]interface{} `json:"appSettings,omitempty"`
AddParentFolder []string `json:"addParentFolder,omitempty"`
RemoveParentFolder []string `json:"removeParentFolder,omitempty"`
CreatedTime *time.Time `json:"createdTime,omitempty"`
EditedTime *time.Time `json:"editedTime,omitempty"`
}
// CopyFileRequest represents request to copy a file
type CopyFileRequest struct {
FileName string `json:"fileName,omitempty"`
MimeType string `json:"mimeType,omitempty"`
ParentFolder []string `json:"parentFolder,omitempty"`
Properties map[string]interface{} `json:"properties,omitempty"`
AppSettings map[string]interface{} `json:"appSettings,omitempty"`
}
// ResumeUploadInitResponse represents response to resume upload init
type ResumeUploadInitResponse struct {
SliceSize int64 `json:"sliceSize"`
}
// ErrorResponse represents an error response from the API
type ErrorResponse struct {
Error struct {
Code int `json:"code"`
Message string `json:"message"`
} `json:"error"`
}
// Constants
const (
// MIME types
FolderMimeType = "application/vnd.huawei-apps.folder"
// Special folder names
ApplicationDataFolder = "applicationData"
// Upload types
UploadTypeMultipart = "multipart"
UploadTypeContent = "content"
UploadTypeResume = "resume"
// Form types
FormContent = "content"
FormJSON = "json"
// Categories
CategoryDriveFile = "drive#file"
CategoryDriveFileList = "drive#fileList"
CategoryDriveAbout = "drive#about"
CategoryDriveUser = "drive#user"
// Global API domain (always available)
GlobalDriveAPI = "https://driveapis.cloud.huawei.com.cn"
GlobalUploadAPI = "https://driveapis.cloud.huawei.com.cn"
)
// DomainToRootURL maps the domain field from About:get to the regional API root URL.
// The API returns the full domain name (e.g., "driveapis.cloud.huawei.com.cn").
// If the domain matches the global API, no switch is needed.
// See: https://developer.huawei.com/consumer/cn/doc/HMSCore-References/server-public-info-0000001050159641
var DomainToRootURL = map[string]string{
"china": "https://drive-drcn.cloud.dbankcloud.cn",
"europe": "https://drive-dre.cloud.dbankcloud.cn",
"aala": "https://drive-dra.cloud.dbankcloud.cn",
"russia": "https://drive-drru.cloud.dbankcloud.cn",
"drive-drcn.cloud.dbankcloud.cn": "https://drive-drcn.cloud.dbankcloud.cn",
"drive-dre.cloud.dbankcloud.cn": "https://drive-dre.cloud.dbankcloud.cn",
"drive-dra.cloud.dbankcloud.cn": "https://drive-dra.cloud.dbankcloud.cn",
"drive-drru.cloud.dbankcloud.cn": "https://drive-drru.cloud.dbankcloud.cn",
}
// GlobalDomains lists domain values that indicate the global API endpoint (no switch needed)
var GlobalDomains = map[string]bool{
"driveapis.cloud.huawei.com.cn": true,
"drive.cloud.hicloud.com": true,
}
// BoolPtr returns a pointer to a bool value (helper for UpdateFileRequest)
func BoolPtr(b bool) *bool {
return &b
}
// StartCursor represents response to Changes.getStartCursor endpoint
type StartCursor struct {
Category string `json:"category"` // "drive#startCursor"
StartCursor string `json:"startCursor"`
}
// ChangeList represents response to Changes.list endpoint
type ChangeList struct {
Category string `json:"category"` // "drive#changeList"
NextCursor string `json:"nextCursor,omitempty"`
NewStartCursor string `json:"newStartCursor,omitempty"`
Changes []ChangeItem `json:"changes"`
}
// ChangeItem represents a single change entry
type ChangeItem struct {
Category string `json:"category"` // "drive#change"
Type string `json:"type"` // resource type, e.g. "File"
ChangeType string `json:"changeType"` // change type, e.g. "File"
Time string `json:"time"`
Deleted bool `json:"deleted"`
FileID string `json:"fileId"`
File *File `json:"file,omitempty"`
}
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
+21
View File
@@ -0,0 +1,21 @@
name: ImpossibleCloud
description: Impossible Cloud Object Storage
region:
eu-central-2: Frankfurt, Germany
eu-west-1: Amsterdam, Netherlands
eu-west-2: London, UK
eu-west-3: Paris, France
eu-east-1: Poznań, Poland
eu-north-1: Copenhagen, Denmark
us-east-1: New York, USA
endpoint:
eu-central-2.storage.impossibleapi.net: Frankfurt, Germany
eu-west-1.storage.impossibleapi.net: Amsterdam, Netherlands
eu-west-2.storage.impossibleapi.net: London, UK
eu-west-3.storage.impossibleapi.net: Paris, France
eu-east-1.storage.impossibleapi.net: Poznań, Poland
eu-north-1.storage.impossibleapi.net: Copenhagen, Denmark
us-east-1.storage.impossibleapi.net: New York, USA
location_constraint: {}
acl: {}
bucket_acl: true
+7
View File
@@ -44,6 +44,13 @@ func md5sum(t *testing.T, s string) string {
}
func (f *Fs) InternalTestMetadata(t *testing.T) {
// Impossible Cloud silently drops cache-control,
// content-disposition, content-encoding and content-language
// system metadata on retrieval (and thus also breaks the
// Content-Encoding response header that --s3-decompress relies on).
if f.opt.Provider == "ImpossibleCloud" {
t.Skip("Impossible Cloud does not preserve all S3 system metadata")
}
ctx := context.Background()
original := random.String(1000)
contents := gz(t, original)
+38 -22
View File
@@ -1,16 +1,30 @@
#!/bin/bash
# Fetch the latest GUI dist from rclone/rclone-web GitHub releases.
# Fetch the latest GUI dist.zip from rclone/rclone-web GitHub releases.
#
# Downloads dist.zip from the latest release and extracts it to
# cmd/gui/dist/. Skips the download if the local tag matches.
# Downloads dist.zip from the latest release to cmd/gui/dist.zip and
# records the tag in cmd/gui/dist.tag. Both files are committed to the
# repo so that builds are reproducible and `go build` works on a fresh
# clone without needing to fetch anything.
#
# Requires: curl, unzip
# Skips the download when both dist.zip and dist.tag exist and the tag
# matches the latest release.
#
# Requires: curl
set -euo pipefail
REPO="rclone/rclone-web"
DEST="cmd/gui/dist"
TAG_FILE="${DEST}/.tag"
DEST_DIR="cmd/gui"
ZIP_FILE="${DEST_DIR}/dist.zip"
TAG_FILE="${DEST_DIR}/dist.tag"
COMMIT=0
for arg in "$@"; do
case "$arg" in
--commit) COMMIT=1 ;;
*) echo "Unknown argument: $arg" >&2; exit 1 ;;
esac
done
CURL_OPTS=(-fSs --retry 5 --retry-delay 2 --retry-all-errors)
@@ -49,14 +63,16 @@ sys.exit(1)
echo "Latest release: ${TAG}"
# Check if we already have this version
if [ -f "${TAG_FILE}" ] && [ "$(cat "${TAG_FILE}")" = "${TAG}" ]; then
# Skip only when both the zip and the tag are present and the tag matches.
# If only the tag exists (e.g. someone deleted the zip), force a re-download.
if [ -f "${ZIP_FILE}" ] && [ -f "${TAG_FILE}" ] && [ "$(cat "${TAG_FILE}")" = "${TAG}" ]; then
echo "Already up to date (${TAG})"
exit 0
fi
# Download dist.zip
TMPFILE=$(mktemp /tmp/rclone-gui-dist.XXXXXX.zip)
# Download dist.zip directly to its final location, via a temp file so a
# failed download doesn't leave a partial file behind.
TMPFILE=$(mktemp "${DEST_DIR}/.dist.zip.XXXXXX")
trap 'rm -f "${TMPFILE}"' EXIT
echo "Downloading dist.zip from ${TAG}..."
@@ -65,17 +81,17 @@ curl -L "${CURL_OPTS[@]}" "${AUTH_HEADER[@]}" -o "${TMPFILE}" "${ASSET_URL}" ||
exit 1
}
# Extract
echo "Extracting to ${DEST}/..."
rm -rf "${DEST}"
mkdir -p "${DEST}"
unzip -q "${TMPFILE}" -d "${DEST}"
# Restore marker files
git checkout "${DEST}"/.gitignore
git checkout "${DEST}"/README.md
# Write tag for cache comparison
mv "${TMPFILE}" "${ZIP_FILE}"
chmod 644 "${ZIP_FILE}"
echo -n "${TAG}" > "${TAG_FILE}"
echo "Done. GUI dist updated to ${TAG}"
echo "Done. ${ZIP_FILE} updated to ${TAG}"
if [ "${COMMIT}" -eq 1 ]; then
git add "${ZIP_FILE}" "${TAG_FILE}"
if git diff --cached --quiet -- "${ZIP_FILE}" "${TAG_FILE}"; then
echo "No changes to commit (zip and tag are identical to HEAD)"
else
git commit -m "gui: update embedded release to ${TAG}" -- "${ZIP_FILE}" "${TAG_FILE}"
fi
fi
+2
View File
@@ -56,6 +56,7 @@ docs = [
"drive.md",
"googlephotos.md",
"hasher.md",
"huaweidrive.md",
"hdfs.md",
"hidrive.md",
"http.md",
@@ -135,6 +136,7 @@ ignore_docs = [
"privacy.md",
"sponsor.md",
"amazonclouddrive.md",
"backends.md", # Makes JSON confusingly
]
def read_doc(doc):
+1 -1
View File
@@ -54,7 +54,7 @@ none for no resync.)
- slowHashSyncOnly - (bool) Ignore slow checksums for listings and deltas, but
still consider them during sync calls.
- workdir - (string) Use custom working dir - useful for testing. (default:
~/.cache/rclone/bisync)
/home/ncw/.cache/rclone/bisync)
See [bisync command help](https://rclone.org/commands/rclone_bisync/)
and [full bisync description](https://rclone.org/bisync/)
+1
View File
@@ -0,0 +1 @@
1.1.7
BIN
View File
Binary file not shown.
-4
View File
@@ -1,4 +0,0 @@
# This directory gets the web gui release which we ignore
*
# Except this file which we use to keep the directory available
!.gitignore
-1
View File
@@ -1 +0,0 @@
Use `make fetch-gui` to populate this directory.
+22 -12
View File
@@ -3,8 +3,9 @@ package gui
import (
"archive/zip"
"bytes"
"context"
"embed"
_ "embed"
"fmt"
iofs "io/fs"
"net/http"
@@ -24,8 +25,11 @@ import (
"github.com/spf13/cobra"
)
//go:embed dist
var assets embed.FS
//go:embed dist.zip
var distZip []byte
//go:embed dist.tag
var distTag string
var (
guiAddr []string
@@ -88,6 +92,8 @@ Use --user and --pass to set specific credentials:
Use --no-auth to disable authentication entirely:
rclone gui --no-auth
For more help see [the GUI docs](/gui/).
`,
Annotations: map[string]string{
"versionIntroduced": "v1.74",
@@ -190,7 +196,11 @@ Use --no-auth to disable authentication entirely:
guiServer.Serve()
guiURL := guiServer.URLs()[0]
fs.Logf(nil, "Serving GUI on %s", guiURL)
guiSource := fmt.Sprintf("version %s", strings.TrimSpace(distTag))
if srcPath != "" {
guiSource = fmt.Sprintf("from %s", srcPath)
}
fs.Logf(nil, "Serving GUI %s on %s", guiSource, guiURL)
// Open browser
loginURL := buildLoginURL(guiURL, rcURL, opt.Auth.BasicUser, opt.Auth.BasicPass, opt.NoAuth)
@@ -229,20 +239,20 @@ func originFromURL(rawURL string) string {
}
// guiSourceFS opens the GUI bundle at the given path. An empty path
// returns the embedded bundle. The returned cleanup func must be
// called on shutdown (no-op for embedded/DirFS, Close for the zip
// reader).
// returns the embedded bundle (read from the zip embedded in the binary).
// The returned cleanup func must be called on shutdown (no-op for the
// embedded bundle and DirFS, Close for an external zip reader).
func guiSourceFS(path string) (iofs.FS, func() error, error) {
noop := func() error { return nil }
if path == "" {
sub, err := iofs.Sub(assets, "dist")
zr, err := zip.NewReader(bytes.NewReader(distZip), int64(len(distZip)))
if err != nil {
return nil, nil, fmt.Errorf("embedded GUI dir not found: was `make fetch-gui` run before building?: %w", err)
return nil, nil, fmt.Errorf("failed to read embedded GUI zip: was `make fetch-gui` run before building?: %w", err)
}
if _, err := iofs.Stat(sub, "index.html"); err != nil {
return nil, nil, fmt.Errorf("embedded GUI not found: was `make fetch-gui` run before building?: %w", err)
if _, err := iofs.Stat(zr, "index.html"); err != nil {
return nil, nil, fmt.Errorf("embedded GUI has no index.html: was `make fetch-gui` run before building?: %w", err)
}
return sub, noop, nil
return zr, noop, nil
}
info, err := os.Stat(path)
if err != nil {
+2
View File
@@ -151,6 +151,7 @@ WebDAV or S3, that work out of the box.)
{{< provider name="HiDrive" home="https://www.strato.de/cloud-speicher/" config="/hidrive/" >}}
{{< provider name="Hitachi Content Platform (HCP)" home="https://www.hitachivantara.com/en-us/products/storage/content-platform.html" config="/s3/#hcp" >}}
{{< provider name="HTTP" home="https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol" config="/http/" >}}
{{< provider name="Huawei Drive" home="https://cloud.huawei.com/" config="/huaweidrive/" >}}
{{< provider name="Huawei OBS" home="https://www.huaweicloud.com/intl/en-us/product/obs.html" config="/s3/#huawei-obs" >}}
{{< provider name="iCloud Drive" home="https://icloud.com/" config="/iclouddrive/" >}}
{{< provider name="ImageKit" home="https://imagekit.io" config="/imagekit/" >}}
@@ -159,6 +160,7 @@ WebDAV or S3, that work out of the box.)
{{< provider name="Jottacloud" home="https://www.jottacloud.com/en/" config="/jottacloud/" >}}
{{< provider name="IBM COS S3" home="http://www.ibm.com/cloud/object-storage" config="/s3/#ibm-cos-s3" >}}
{{< provider name="IDrive e2" home="https://www.idrive.com/e2/?refer=rclone" config="/s3/#idrive-e2" >}}
{{< provider name="Impossible Cloud" home="https://www.impossiblecloud.com/" config="/s3/#impossible-cloud" >}}
{{< provider name="Intercolo Object Storage" home="https://intercolo.de/object-storage" config="/s3/#intercolo" >}}
{{< provider name="IONOS Cloud" home="https://cloud.ionos.com/storage/object-storage" config="/s3/#ionos" >}}
{{< provider name="Koofr" home="https://koofr.eu/" config="/koofr/" >}}
+1
View File
@@ -1122,3 +1122,4 @@ put them back in again. -->
- dlaumen <262192488+dlaumen@users.noreply.github.com>
- Yakov Till <37628546+Lyapsus@users.noreply.github.com>
- Chris Coughlan <chris@coughlan.io>
- John Volk <volkjohn@users.noreply.github.com>
+35
View File
@@ -845,6 +845,22 @@ Properties:
- Type: int
- Default: 512
#### --azureblob-copy-total-concurrency
Global concurrency limit for multipart copy chunks.
This limits the total number of multipart copy chunks running at once
across all files.
Set to 0 to disable this limiter.
Properties:
- Config: copy_total_concurrency
- Env Var: RCLONE_AZUREBLOB_COPY_TOTAL_CONCURRENCY
- Type: int
- Default: 0
#### --azureblob-use-copy-blob
Whether to use the Copy Blob API when copying to the same storage account.
@@ -1063,6 +1079,25 @@ Properties:
- "only"
- Specify 'only' to remove only the snapshots but keep the root blob.
#### --azureblob-decompress
If set this will decompress gzip encoded objects.
It is possible to upload objects to Azure Blob Storage with "Content-Encoding: gzip"
set. Normally rclone will download these files as compressed objects.
If this flag is set then rclone will decompress these files with
"Content-Encoding: gzip" as they are received. This means that rclone
can't check the size and hash but the file contents will be decompressed.
Properties:
- Config: decompress
- Env Var: RCLONE_AZUREBLOB_DECOMPRESS
- Type: bool
- Default: false
#### --azureblob-description
Description of the remote.
+1 -5
View File
@@ -1055,11 +1055,7 @@ The following backends have known issues that need more investigation:
<!--- start list_failures - DO NOT EDIT THIS SECTION - use make commanddocs --->
- `TestDropbox` (`dropbox`)
- [`TestBisyncRemoteRemote/normalization`](https://pub.rclone.org/integration-tests/current/dropbox-cmd.bisync-TestDropbox-1.txt)
- `TestSeafile` (`seafile`)
- [`TestBisyncLocalRemote/volatile`](https://pub.rclone.org/integration-tests/current/seafile-cmd.bisync-TestSeafile-1.txt)
- `TestSeafileV6` (`seafile`)
- [`TestBisyncLocalRemote/volatile`](https://pub.rclone.org/integration-tests/current/seafile-cmd.bisync-TestSeafileV6-1.txt)
- Updated: 2026-01-30-010015
- Updated: 2026-05-01-010013
<!--- end list_failures - DO NOT EDIT THIS SECTION - use make commanddocs --->
The following backends either have not been tested recently or have known issues
+129
View File
@@ -6,6 +6,135 @@ description: "Rclone Changelog"
# Changelog
## v1.74.0 - 2026-05-01
[See commits](https://github.com/rclone/rclone/compare/v1.73.0...v1.74.0)
- New backends
- [Huawei Drive](/huaweidrive/) (王一赫)
- [iCloud Photos](/iclouddrive/#icloud-photos) (read only) (Yakov Till)
- New S3 providers
- [Fastly Object Storage](/s3/#fastly) (Leon Brocard)
- [HCP](/s3/#hcp) (Chris)
- [Impossible Cloud](/s3/#impossible-cloud) (Nick Craig-Wood)
- [UCloud US3](/s3/#us3) (jinkeyuu)
- [Zadara](/s3/#zadara) (Shlomi Avihou)
- New commands
- [gui](/gui/): launch new embedded web based GUI for basic rclone operations (FTCHD, Nick Craig-Wood)
- New Features
- build
- Update `golang.org/x/image/webp` to v0.39.0 to fix CVE-2026-33813 (Nick Craig-Wood)
- Bump `github.com/Azure/go-ntlmssp` to 0.1.1 to fix CVE-2026-32952 (dependabot[bot])
- Update to go1.26 and make go1.25 the minimum required version (Nick Craig-Wood)
- Update all dependencies (Nick Craig-Wood)
- Modernize Go code with go fix for go1.25 (Nick Craig-Wood)
- Fix `loong64` and `s390x` build (Suyun)
- docs
- Modernize rclone.org site design (Nick Craig-Wood)
- fixes (albertony, Enduriel, Jason, Luke Cyca, mathieulongtin, Nick Craig-Wood, SyoBoN)
- fshttp: Add `--dump curl` for dumping HTTP requests as curl commands (Nick Craig-Wood)
- graphics: Optimise images losslessly with ImageOptim (Leon Brocard)
- listremotes: Add `--exact` flag for filtering (Anton Bordwine)
- rc
- Flip auth default so all endpoints require auth unless opted out (Nick Craig-Wood)
- Add `core/disks` to enumerate attached disks (Nick Craig-Wood)
- Add `deletedDirs` stat to `core/stats` help output (Billy Hughes)
- serve http
- Add fallback embedded favicon (Leon Brocard)
- Add gzip compression for text responses (Leon Brocard)
- Dark mode for file browser (FTCHD)
- Add HTTP/2 cleartext support for all http servers (TheBabu)
- touch: Add metadata when using `--metadata-set` (Prakhar Chhalotre)
- Bug Fixes
- accounting
- Update String method output format for clarity in transfer rate representation (Prakhar Chhalotre)
- Fix `rcat`/`copyurl` for `files.com` (Nick Craig-Wood)
- bisync
- Add missing rc params (nielash)
- Add more structured info to rc output (nielash)
- Auto-generate rc help docs (nielash)
- Fix handling of unreadable lockfiles (lif)
- Fix flaky TestBisyncConcurrent by increasing random name entropy (Nick Craig-Wood)
- Fix integration tests after sftp log changes (Nick Craig-Wood)
- copyurl: Fix ignored `--upload-headers` and `--download-headers` (Andriy Senyshyn)
- librclone/ctest: Add Windows support and fix memory management (BizaNator)
- log: Fix data race on OutputHandler.format field (Nick Craig-Wood)
- operations
- Multithread copy: grab memory before making go routines (Nick Craig-Wood)
- serve dlna: Fix Samsung TV compatibility (Nick Craig-Wood)
- serve nfs: Fix EOF flag in READ response not being set when read reaches end of file (Nick Craig-Wood)
- Mount
- rc: fix mounts created with mountPoint "*" overwriting each other (Nick Craig-Wood)
- VFS
- Fix slow `nfs serve` by adding `--vfs-handle-caching` (Nick Craig-Wood)
- Add context parameter to New() for config propagation (Nick Craig-Wood)
- Replace `context.TODO`/`Background` with stored VFS context (Nick Craig-Wood)
- Local
- Remove fadvise calls that cause spinlock contention (Patrick Farrell)
- Azure Blob
- Add `--azureblob-copy-total-concurrency` to limit total multipart copy concurrency (Duncan F)
- Add server side copy real time accounting (Nick Craig-Wood)
- Add `--azureblob-decompress` flag to download gzip-encoded files (Nick Craig-Wood)
- Azurefiles
- Fix missing `x-ms-file-request-intent` header with OAuth (Nick Craig-Wood)
- B2
- Add server side copy real time accounting (Nick Craig-Wood)
- Drime
- Implement About (Cohinem)
- Fix listings of large directories (John Volk)
- Drive
- Add integration test for handling folder names with single quotes (Prakhar Chhalotre)
- Filelu
- Add multipart init response type (kingston125)
- Migrate API calls to `lib/rest` (kingston125)
- Filen
- Make multi-threaded upload chunks individually retryable (Enduriel)
- Iclouddrive
- Replace plaintext signin with SRP authentication (Mike GIllan)
- Use dynamic origin for SRP auth headers (Xiangzhe)
- Lowercase Apple ID for SRP authentication (Mike GIllan)
- Add read only iCloud Photos support and SRP authentication (Yakov Till)
- Internxt
- Implement multi-part uploads (José Zúniga)
- Jottacloud
- Add encoding of percent character to default backend encoding (albertony)
- Linkbox
- Fix downloading files by using web API (Nick Craig-Wood)
- Mega
- Fix crash when logging in with previous auth keys fails (Andrew Gunnerson)
- Pcloud
- Fix recursive listing from the root (Nick Craig-Wood)
- Pikpak
- Support custom filenames for addurl backend command (wiserain)
- Protondrive
- Align backend with newer Proton SDK stack (tdawe)
- Update to latest go-proton-api to use new host (dlaumen)
- Fix server-side moveto and DirMove against current API (Nick Craig-Wood)
- S3
- Add Fastly Object Storage provider (Leon Brocard)
- Add HCP provider and `list_versions_oldest_first` quirk (Chris)
- Add Impossible Cloud as a new S3 provider (Nick Craig-Wood)
- Add UCloud Object Storage provider (#9230) (jinkeyuu)
- Add Zadara Object Storage provider (Shlomi Avihou)
- Remove StackPath Object Storage provider (Leon Brocard)
- Add server side copy real time accounting (Nick Craig-Wood)
- Add OVHcloud storage classes (Bjoern Franke)
- Add Object Lock support (Chris)
- Add new Fastly Object Storage regions (Leon Brocard)
- Scaleway: ONEZONE_IA is available in all zones, GLACIER only in FR-PAR (Bjoern Franke)
- Ionos: updated regions & endpoints (hxnd)
- IBM COS: provide ibm_iam_endpoint as a configurable param for IBM IAM-based auth (Bhagyashreek8)
- Fix Content-MD5 for Object Lock uploads and add GCS quirk (Chris)
- Fix regression where PutObject fails with non-seekable readers (Chris)
- Fix `--s3-versions` flag ignored by cleanup-hidden when GetBucketVersioning fails (Chris)
- Fix bucket creation failing on Ceph/radosgw (Jan Heylen)
- SFTP
- Warn the user if no host key validation is configured (Nick Craig-Wood)
- WebDAV
- Permit redirects on PROPFIND for metadata (Brian Bockelman)
- Request only required properties in listAll to improve performance (ZRHan)
- Optimize performance by using `Depth=0` for metadata requests (ZRHan)
## v1.73.5 - 2026-04-19
[See commits](https://github.com/rclone/rclone/compare/v1.73.4...v1.73.5)
+37 -5
View File
@@ -40,6 +40,8 @@ rclone [flags]
--azureblob-connection-string string Storage Connection String
--azureblob-copy-concurrency int Concurrency for multipart copy (default 512)
--azureblob-copy-cutoff SizeSuffix Cutoff for switching to multipart copy (default 8Mi)
--azureblob-copy-total-concurrency int Global concurrency limit for multipart copy chunks
--azureblob-decompress If set this will decompress gzip encoded objects
--azureblob-delete-snapshots string Set to specify how to deal with snapshots on blob deletion
--azureblob-description string Description of the remote
--azureblob-directory-markers Upload an empty object with a trailing slash when a new directory is created
@@ -305,7 +307,7 @@ rclone [flags]
--dropbox-token-url string Token server url
-n, --dry-run Do a trial run with no permanent changes
--dscp string Set DSCP value to connections, value or name, e.g. CS1, LE, DF, AF21
--dump DumpFlags List of items to dump from: headers, bodies, requests, responses, auth, filters, goroutines, openfiles, mapper
--dump DumpFlags List of items to dump from: headers, bodies, requests, responses, auth, filters, goroutines, openfiles, mapper, curl
--dump-bodies Dump HTTP headers and bodies - may contain sensitive info
--dump-headers Dump HTTP headers - may contain sensitive info
--error-on-no-transfer Sets exit code 9 if no files are transferred, useful in scripts
@@ -329,9 +331,11 @@ rclone [flags]
--filefabric-token-expiry string Token expiry time
--filefabric-url string URL of the Enterprise File Fabric to connect to
--filefabric-version string Version read from the file fabric
--filelu-chunk-size SizeSuffix Chunk size to use for uploading. Used for multipart uploads (default 64Mi)
--filelu-description string Description of the remote
--filelu-encoding Encoding The encoding for the backend (default Slash,LtGt,DoubleQuote,SingleQuote,BackQuote,Dollar,Colon,Question,Asterisk,Pipe,Hash,Percent,BackSlash,CrLf,Del,Ctl,LeftSpace,LeftPeriod,LeftTilde,LeftCrLfHtVt,RightSpace,RightPeriod,RightCrLfHtVt,InvalidUtf8,Dot,SquareBracket,Semicolon,Exclamation)
--filelu-key string Your FileLu Rclone key from My Account
--filelu-upload-cutoff SizeSuffix Cutoff for switching to chunked upload. Any files larger than this will be uploaded in chunks of chunk_size (default 500Mi)
--filen-api-key string API Key for your Filen account (obscured)
--filen-auth-version string Authentication Version (internal use only)
--filen-base-folder-uuid string UUID of Account Root Directory (internal use only)
@@ -465,12 +469,25 @@ rclone [flags]
--http-no-slash Set this if the site doesn't end directories with /
--http-proxy string HTTP proxy URL
--http-url string URL of HTTP host to connect to
--huaweidrive-auth-url string Auth server URL
--huaweidrive-chunk-size SizeSuffix Upload chunk size (default 8Mi)
--huaweidrive-client-credentials Use client credentials OAuth flow
--huaweidrive-client-id string OAuth Client Id
--huaweidrive-client-secret string OAuth Client Secret
--huaweidrive-description string Description of the remote
--huaweidrive-encoding Encoding The encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Del,Ctl,LeftSpace,LeftPeriod,LeftTilde,RightSpace,RightPeriod,InvalidUtf8,Dot)
--huaweidrive-list-chunk int Size of listing chunk 1-1000 (default 1000)
--huaweidrive-root-folder-id string ID of the root folder
--huaweidrive-token string OAuth Access Token as a JSON blob
--huaweidrive-token-url string Token server url
--huaweidrive-upload-cutoff SizeSuffix Cutoff for switching to resumable upload (default 20Mi)
--human-readable Print numbers in a human-readable format, sizes with suffix Ki|Mi|Gi|Ti|Pi
--iclouddrive-apple-id string Apple ID
--iclouddrive-client-id string Client id (default "d39ba9916b7251055b22c7f910e2ea796ee65e98b2ddecea8f5dde8d9d1a815d")
--iclouddrive-client-id string Client ID for iCloud API access (default "d39ba9916b7251055b22c7f910e2ea796ee65e98b2ddecea8f5dde8d9d1a815d")
--iclouddrive-description string Description of the remote
--iclouddrive-encoding Encoding The encoding for the backend (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
--iclouddrive-password string Password (obscured)
--iclouddrive-service string iCloud service to use (default "drive")
--ignore-case Ignore case in filters (case insensitive)
--ignore-case-sync Ignore case when synchronizing
--ignore-checksum Skip post copy check of checksums
@@ -501,17 +518,20 @@ rclone [flags]
--internetarchive-item-metadata stringArray Metadata to be set on the IA item, this is different from file-level metadata that can be set using --metadata-set
--internetarchive-secret-access-key string IAS3 Secret Key (password)
--internetarchive-wait-archive Duration Timeout for waiting the server's processing tasks (specifically archive and book_op) to finish (default 0s)
--internxt-chunk-size SizeSuffix Chunk size for multipart uploads (default 30Mi)
--internxt-description string Description of the remote
--internxt-email string Email of your Internxt account
--internxt-encoding Encoding The encoding for the backend (default Slash,BackSlash,CrLf,RightPeriod,InvalidUtf8,Dot)
--internxt-pass string Password (obscured)
--internxt-skip-hash-validation Skip hash validation when downloading files (default true)
--internxt-upload-concurrency int Concurrency for multipart uploads (default 4)
--internxt-upload-cutoff SizeSuffix Cutoff for switching to multipart upload (default 100Mi)
--jottacloud-auth-url string Auth server URL
--jottacloud-client-credentials Use client credentials OAuth flow
--jottacloud-client-id string OAuth Client Id
--jottacloud-client-secret string OAuth Client Secret
--jottacloud-description string Description of the remote
--jottacloud-encoding Encoding The encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,Del,Ctl,InvalidUtf8,Dot)
--jottacloud-encoding Encoding The encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,Percent,Del,Ctl,InvalidUtf8,Dot)
--jottacloud-hard-delete Delete files permanently rather than putting them into the trash
--jottacloud-md5-memory-limit SizeSuffix Files bigger than this will be cached on disk to calculate the MD5 if required (default 10Mi)
--jottacloud-no-versions Avoid server side versioning by deleting files and recreating files instead of overwriting them
@@ -529,6 +549,8 @@ rclone [flags]
--koofr-user string Your user name
--kv-lock-time Duration Maximum time to keep key-value database locked by process (default 1s)
--linkbox-description string Description of the remote
--linkbox-email string Email for login
--linkbox-password string Password for login (obscured)
--linkbox-token string Token from https://www.linkbox.to/admin/account
-l, --links Translate symlinks to/from regular files with a '.rclonelink' extension
--list-cutoff int To save memory, sort directory listings on disk above this threshold (default 1000000)
@@ -744,7 +766,7 @@ rclone [flags]
-P, --progress Show progress during transfer
--progress-terminal-title Show progress on the terminal title (requires -P/--progress)
--protondrive-2fa string The 2FA code
--protondrive-app-version string The app version string (default "macos-drive@1.0.0-alpha.1+rclone")
--protondrive-app-version string The app version string
--protondrive-description string Description of the remote
--protondrive-enable-caching Caches the files and folders metadata to reduce API calls (default true)
--protondrive-encoding Encoding The encoding for the backend (default Slash,LeftSpace,RightSpace,InvalidUtf8,Dot)
@@ -819,6 +841,8 @@ rclone [flags]
--s3-access-key-id string AWS Access Key ID
--s3-acl string Canned ACL used when creating buckets and storing or copying objects
--s3-bucket-acl string Canned ACL used when creating buckets
--s3-bucket-object-lock-enabled Enable Object Lock when creating new buckets
--s3-bypass-governance-retention Allow deleting or modifying objects locked with GOVERNANCE mode
--s3-chunk-size SizeSuffix Chunk size to use for uploading (default 5Mi)
--s3-copy-cutoff SizeSuffix Cutoff for switching to multipart copy (default 4.656Gi)
--s3-decompress If set this will decompress gzip encoded objects
@@ -833,11 +857,13 @@ rclone [flags]
--s3-env-auth Get AWS credentials from runtime (environment variables or EC2/ECS meta data if no env vars)
--s3-force-path-style If true use path style access if false use virtual hosted style (default true)
--s3-ibm-api-key string IBM API Key to be used to obtain IAM token
--s3-ibm-iam-endpoint string IBM IAM Endpoint to use for authentication
--s3-ibm-resource-instance-id string IBM service instance id
--s3-leave-parts-on-error If true avoid calling abort upload on a failure, leaving all successfully uploaded parts on S3 for manual recovery
--s3-list-chunk int Size of listing chunk (response list for each ListObject S3 request) (default 1000)
--s3-list-url-encode Tristate Whether to url encode listings: true/false/unset (default unset)
--s3-list-version int Version of ListObjects to use: 1,2 or 0 for auto
--s3-list-versions-oldest-first Tristate Set if the backend returns object versions oldest first (default unset)
--s3-location-constraint string Location constraint - must be set to match the Region
--s3-max-upload-parts int Maximum number of parts in a multipart upload (default 10000)
--s3-might-gzip Tristate Set this if the backend might gzip objects (default unset)
@@ -845,6 +871,11 @@ rclone [flags]
--s3-no-head If set, don't HEAD uploaded objects to check integrity
--s3-no-head-object If set, do not do HEAD before GET when getting objects
--s3-no-system-metadata Suppress setting and reading of system metadata
--s3-object-lock-legal-hold-status string Object Lock legal hold status to apply when uploading or copying objects
--s3-object-lock-mode string Object Lock mode to apply when uploading or copying objects
--s3-object-lock-retain-until-date string Object Lock retention until date to apply when uploading or copying objects
--s3-object-lock-set-after-upload Set Object Lock via separate API calls after upload
--s3-object-lock-supported Tristate Whether the provider supports S3 Object Lock (default unset)
--s3-profile string Profile to use in the shared credentials file
--s3-provider string Choose your S3 provider
--s3-region string Region to connect to
@@ -1063,7 +1094,7 @@ rclone [flags]
--use-json-log Use json log format
--use-mmap Use mmap allocator (see docs)
--use-server-modtime Use server modified time instead of object metadata
--user-agent string Set the user-agent to a specified string (default "rclone/v1.73.0")
--user-agent string Set the user-agent to a specified string (default "rclone/v1.74.0")
-v, --verbose count Print lots more stuff (repeat for more)
-V, --version Print the version number
--webdav-auth-redirect Preserve authentication on redirect
@@ -1130,6 +1161,7 @@ rclone [flags]
* [rclone deletefile](/commands/rclone_deletefile/) - Remove a single file from remote.
* [rclone gendocs](/commands/rclone_gendocs/) - Output markdown docs for rclone to the directory supplied.
* [rclone gitannex](/commands/rclone_gitannex/) - Speaks with git-annex over stdin/stdout.
* [rclone gui](/commands/rclone_gui/) - Open the web based GUI.
* [rclone hashsum](/commands/rclone_hashsum/) - Produces a hashsum file for all the objects in the path.
* [rclone link](/commands/rclone_link/) - Generate public link to file/folder.
* [rclone listremotes](/commands/rclone_listremotes/) - List all the remotes in the config file and defined in environment variables.
+22 -1
View File
@@ -29,6 +29,7 @@ before using, or data loss can result. Questions can be asked in the
See [full bisync description](https://rclone.org/bisync/) for details.
```
rclone bisync remote1:path1 remote2:path2 [flags]
```
@@ -60,7 +61,7 @@ rclone bisync remote1:path1 remote2:path2 [flags]
-1, --resync Performs the resync run. Equivalent to --resync-mode path1. Consider using --verbose or --dry-run first.
--resync-mode string During resync, prefer the version that is: path1, path2, newer, older, larger, smaller (default: path1 if --resync, otherwise none for no resync.) (default "none")
--slow-hash-sync-only Ignore slow checksums for listings and deltas, but still consider them during sync calls.
--workdir string Use custom working dir - useful for testing. (default: {WORKDIR})
--workdir string Use custom working dir - useful for testing. (default: $HOME/.cache/rclone/bisync)
```
Options shared with other commands are described next.
@@ -107,6 +108,26 @@ Flags for anything which can copy a file
-u, --update Skip files that are newer on the destination
```
### Sync Options
Flags used for sync commands
```text
--backup-dir string Make backups into hierarchy based in DIR
--delete-after When synchronizing, delete files on destination after transferring (default)
--delete-before When synchronizing, delete files on destination before transferring
--delete-during When synchronizing, delete files during transfer
--fix-case Force rename of case insensitive dest to match source
--ignore-errors Delete even if there are I/O errors
--list-cutoff int To save memory, sort directory listings on disk above this threshold (default 1000000)
--max-delete int When synchronizing, limit the number of deletes (default -1)
--max-delete-size SizeSuffix When synchronizing, limit the total size of deletes (default off)
--suffix string Suffix to add to changed files
--suffix-keep-extension Preserve the extension when using --suffix
--track-renames When synchronizing, track file renames and do a server-side move if possible
--track-renames-strategy string Strategies to use when synchronizing using track-renames hash|modtime|leaf (default "hash")
```
### Important Options
Important flags useful for most commands
+2 -2
View File
@@ -231,12 +231,12 @@ rclone convmv "stories/The Quick Brown Fox!.txt" --name-transform "all,command=e
```console
rclone convmv "stories/The Quick Brown Fox!" --name-transform "date=-{YYYYMMDD}"
// Output: stories/The Quick Brown Fox!-20260130
// Output: stories/The Quick Brown Fox!-20260501
```
```console
rclone convmv "stories/The Quick Brown Fox!" --name-transform "date=-{macfriendlytime}"
// Output: stories/The Quick Brown Fox!-2026-01-30 0825PM
// Output: stories/The Quick Brown Fox!-2026-05-01 0208PM
```
```console
+9
View File
@@ -39,6 +39,15 @@ Note that `--stdout` and `--print-filename` are incompatible with `--urls`.
This will do `--transfers` copies in parallel. Note that if `--auto-filename`
is desired for all URLs then a file with only URLs and no filename can be used.
Each FILENAME in the CSV file can start with a relative path which will be appended
to the destination path provided at the command line. For example, running the command
shown above with the following CSV file will write two files to the destination:
`remote:dir/local/path/bar.json` and `remote:dir/another/local/directory/qux.json`
```csv
https://example.org/foo/bar.json,local/path/bar.json
https://example.org/qux/baz.json,another/local/directory/qux.json
```
## Troubleshooting
If you can't get `rclone copyurl` to work then here are some things you can try:
+118
View File
@@ -0,0 +1,118 @@
---
title: "rclone gui"
description: "Open the web based GUI."
versionIntroduced: v1.74
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/gui/ and as part of making a release run "make commanddocs"
---
# rclone gui
Open the web based GUI.
## Synopsis
This command starts an embedded web GUI for rclone and opens it in
your default browser.
This starts an RC API server and a GUI server on separate localhost
ports, generates login credentials automatically unless --no-auth
is specified, and opens the browser already authenticated.
rclone gui
By default rclone gui serves the web GUI that was embedded into the
rclone binary at build time from https://github.com/rclone/rclone-web/
You can override this by passing a path to either an unpacked GUI
directory or a dist.zip archive (e.g. one downloaded from the
rclone-web releases page):
rclone gui ./my-dist/
rclone gui ./dist.zip
This is useful for iterating on the GUI locally without rebuilding
rclone, or for serving a different GUI release than the one embedded.
Use --no-open-browser to skip opening the browser automatically:
rclone gui --no-open-browser
Use --addr to bind the GUI to a specific address:
rclone gui --addr localhost:5580
Use --user and --pass to set specific credentials:
rclone gui --user admin --pass secret
Use --no-auth to disable authentication entirely:
rclone gui --no-auth
For more help see [the GUI docs](/gui/).
```
rclone gui [path] [flags]
```
## Options
```
--addr stringArray IPaddress:Port for the GUI server (default auto-chosen localhost port)
--api-addr stringArray IPaddress:Port for the RC API server (default auto-chosen localhost port)
--enable-metrics Enable OpenMetrics/Prometheus compatible endpoint at /metrics
-h, --help help for gui
--no-auth Don't require auth for the RC API
--no-open-browser Skip opening the browser automatically
--pass string Password for RC authentication
--user string User name for RC authentication
```
Options shared with other commands are described next.
See the [global flags page](/flags/) for global options not listed here.
### RC Options
Flags to control the Remote Control API
```text
--rc Enable the remote control server
--rc-addr stringArray IPaddress:Port or :Port to bind server to (default localhost:5572)
--rc-allow-origin string Origin which cross-domain request (CORS) can be executed from
--rc-baseurl string Prefix for URLs - leave blank for root
--rc-cert string TLS PEM key (concatenation of certificate and CA certificate)
--rc-client-ca string Client certificate authority to verify clients with
--rc-enable-metrics Enable the Prometheus metrics path at the remote control server
--rc-files string Path to local files to serve on the HTTP server
--rc-htpasswd string A htpasswd file - if not provided no authentication is done
--rc-job-expire-duration Duration Expire finished async jobs older than this value (default 1m0s)
--rc-job-expire-interval Duration Interval to check for expired async jobs (default 10s)
--rc-key string TLS PEM Private key
--rc-max-header-bytes int Maximum size of request header (default 4096)
--rc-min-tls-version string Minimum TLS version that is acceptable (default "tls1.0")
--rc-no-auth Don't require auth for certain methods
--rc-pass string Password for authentication
--rc-realm string Realm for authentication
--rc-salt string Password hashing salt (default "dlPL2MqE")
--rc-serve Enable the serving of remote objects
--rc-serve-no-modtime Don't read the modification time (can speed things up)
--rc-server-read-timeout Duration Timeout for server reading data (default 1h0m0s)
--rc-server-write-timeout Duration Timeout for server writing data (default 1h0m0s)
--rc-template string User-specified template
--rc-user string User name for authentication
--rc-user-from-header string User name from a defined HTTP header
--rc-web-fetch-url string URL to fetch the releases for webgui (default "https://api.github.com/repos/rclone/rclone-webui-react/releases/latest")
--rc-web-gui Launch WebGUI on localhost
--rc-web-gui-force-update Force update to latest version of web gui
--rc-web-gui-no-open-browser Don't open the browser automatically
--rc-web-gui-update Check and update to latest version of web gui
```
## See Also
<!-- markdownlint-capture -->
<!-- markdownlint-disable ul-style line-length -->
* [rclone](/commands/rclone/) - Show help for rclone commands, flags and backends.
<!-- markdownlint-restore -->
@@ -23,6 +23,9 @@ Result can be filtered by a filter argument which applies to all attributes,
and/or filter flags specific for each attribute. The values must be specified
according to regular rclone filtering pattern syntax.
By default filtering uses non-anchored matching, so `--type box` also
matches `dropbox`. Use `--exact` to match complete values only.
```
rclone listremotes [<filter>] [flags]
```
@@ -31,6 +34,7 @@ rclone listremotes [<filter>] [flags]
```
--description string Filter remotes by description
--exact Match filter strings exactly instead of using non-anchored glob matching
-h, --help help for listremotes
--json Format output as JSON
--long Show type and description in addition to name
+18 -15
View File
@@ -13,7 +13,8 @@ Mount the remote as file system on a mountpoint.
Rclone mount allows Linux, FreeBSD, macOS and Windows to
mount any of Rclone's cloud storage systems as a file system with FUSE.
First set up your remote using `rclone config`. Check it works with `rclone ls` etc.
First set up your remote using `rclone config`. Check it works with `rclone ls`
etc.
On Linux and macOS, you can run mount in either foreground or background (aka
daemon) mode. Mount runs in foreground mode by default. Use the `--daemon` flag
@@ -41,8 +42,8 @@ The following examples will mount to an automatically assigned drive,
to specific drive letter `X:`, to path `C:\path\parent\mount`
(where parent directory or drive must exist, and mount must **not** exist,
and is not supported when [mounting as a network drive](#mounting-modes-on-windows)),
and the last example will mount as network share `\\cloud\remote` and map it to an
automatically assigned drive:
and the last example will mount as network share `\\cloud\remote` and map it to
an automatically assigned drive:
```console
rclone mount remote:path/to/files *
@@ -148,8 +149,8 @@ rclone mount remote:path/to/files X: --volname \\server\share
You may also specify the network share UNC path as the mountpoint itself. Then rclone
will automatically assign a drive letter, same as with `*` and use that as
mountpoint, and instead use the UNC path specified as the volume name, as if it were
specified with the `--volname` option. This will also implicitly set
mountpoint, and instead use the UNC path specified as the volume name, as if it
were specified with the `--volname` option. This will also implicitly set
the `--network-mode` option. This means the following two examples have same result:
```console
@@ -280,7 +281,7 @@ does not suffer from the same limitations.
Mounting on macOS can be done either via [built-in NFS server](/commands/rclone_serve_nfs/),
[macFUSE](https://osxfuse.github.io/) (also known as osxfuse) or
[FUSE-T](https://www.fuse-t.org/).macFUSE is a traditional FUSE driver utilizing
[FUSE-T](https://www.fuse-t.org/). macFUSE is a traditional FUSE driver utilizing
a macOS kernel extension (kext). FUSE-T is an alternative FUSE system which
"mounts" via an NFSv4 local server.
@@ -323,29 +324,30 @@ current as of FUSE-T version 1.0.14.
As per the [FUSE-T wiki](https://github.com/macos-fuse-t/fuse-t/wiki#caveats):
> File access and modification times cannot be set separately as it seems to be an
> issue with the NFS client which always modifies both. Can be reproduced with
> 'touch -m' and 'touch -a' commands
> File access and modification times cannot be set separately as it seems to be
> an issue with the NFS client which always modifies both. Can be reproduced
> with `touch -m` and `touch -a` commands
This means that viewing files with various tools, notably macOS Finder, will cause
rlcone to update the modification time of the file. This may make rclone upload a
full new copy of the file.
This means that viewing files with various tools, notably macOS Finder, will
cause rlcone to update the modification time of the file. This may make rclone
upload a full new copy of the file.
#### Read Only mounts
When mounting with `--read-only`, attempts to write to files will fail *silently*
as opposed to with a clear warning as in macFUSE.
# Mounting on Linux
## Mounting on Linux
On newer versions of Ubuntu, you may encounter the following error when running
`rclone mount`:
> NOTICE: mount helper error: fusermount3: mount failed: Permission denied
> CRITICAL: Fatal error: failed to mount FUSE fs: fusermount: exit status 1
This may be due to newer [Apparmor](https://wiki.ubuntu.com/AppArmor) restrictions,
which can be disabled with `sudo aa-disable /usr/bin/fusermount3` (you may need to
`sudo apt install apparmor-utils` beforehand).
which can be disabled with `sudo aa-disable /usr/bin/fusermount3` (you may need
to `sudo apt install apparmor-utils` beforehand).
## Limitations
@@ -1044,6 +1046,7 @@ rclone mount remote:path /path/to/mountpoint [flags]
--vfs-case-insensitive If a file name not found, find a case insensitive match
--vfs-disk-space-total-size SizeSuffix Specify the total space of disk (default off)
--vfs-fast-fingerprint Use fast (less accurate) fingerprints for change detection
--vfs-handle-caching Duration Time to keep file handle and downloaders alive after last close (default 5s)
--vfs-links Translate symlinks to/from regular files with a '.rclonelink' extension for the VFS
--vfs-metadata-extension string Set the extension to read metadata from
--vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
+18 -15
View File
@@ -14,7 +14,8 @@ Mount the remote as file system on a mountpoint.
Rclone nfsmount allows Linux, FreeBSD, macOS and Windows to
mount any of Rclone's cloud storage systems as a file system with FUSE.
First set up your remote using `rclone config`. Check it works with `rclone ls` etc.
First set up your remote using `rclone config`. Check it works with `rclone ls`
etc.
On Linux and macOS, you can run mount in either foreground or background (aka
daemon) mode. Mount runs in foreground mode by default. Use the `--daemon` flag
@@ -42,8 +43,8 @@ The following examples will mount to an automatically assigned drive,
to specific drive letter `X:`, to path `C:\path\parent\mount`
(where parent directory or drive must exist, and mount must **not** exist,
and is not supported when [mounting as a network drive](#mounting-modes-on-windows)),
and the last example will mount as network share `\\cloud\remote` and map it to an
automatically assigned drive:
and the last example will mount as network share `\\cloud\remote` and map it to
an automatically assigned drive:
```console
rclone nfsmount remote:path/to/files *
@@ -149,8 +150,8 @@ rclone nfsmount remote:path/to/files X: --volname \\server\share
You may also specify the network share UNC path as the mountpoint itself. Then rclone
will automatically assign a drive letter, same as with `*` and use that as
mountpoint, and instead use the UNC path specified as the volume name, as if it were
specified with the `--volname` option. This will also implicitly set
mountpoint, and instead use the UNC path specified as the volume name, as if it
were specified with the `--volname` option. This will also implicitly set
the `--network-mode` option. This means the following two examples have same result:
```console
@@ -281,7 +282,7 @@ does not suffer from the same limitations.
Mounting on macOS can be done either via [built-in NFS server](/commands/rclone_serve_nfs/),
[macFUSE](https://osxfuse.github.io/) (also known as osxfuse) or
[FUSE-T](https://www.fuse-t.org/).macFUSE is a traditional FUSE driver utilizing
[FUSE-T](https://www.fuse-t.org/). macFUSE is a traditional FUSE driver utilizing
a macOS kernel extension (kext). FUSE-T is an alternative FUSE system which
"mounts" via an NFSv4 local server.
@@ -324,29 +325,30 @@ current as of FUSE-T version 1.0.14.
As per the [FUSE-T wiki](https://github.com/macos-fuse-t/fuse-t/wiki#caveats):
> File access and modification times cannot be set separately as it seems to be an
> issue with the NFS client which always modifies both. Can be reproduced with
> 'touch -m' and 'touch -a' commands
> File access and modification times cannot be set separately as it seems to be
> an issue with the NFS client which always modifies both. Can be reproduced
> with `touch -m` and `touch -a` commands
This means that viewing files with various tools, notably macOS Finder, will cause
rlcone to update the modification time of the file. This may make rclone upload a
full new copy of the file.
This means that viewing files with various tools, notably macOS Finder, will
cause rlcone to update the modification time of the file. This may make rclone
upload a full new copy of the file.
#### Read Only mounts
When mounting with `--read-only`, attempts to write to files will fail *silently*
as opposed to with a clear warning as in macFUSE.
# Mounting on Linux
## Mounting on Linux
On newer versions of Ubuntu, you may encounter the following error when running
`rclone mount`:
> NOTICE: mount helper error: fusermount3: mount failed: Permission denied
> CRITICAL: Fatal error: failed to mount FUSE fs: fusermount: exit status 1
This may be due to newer [Apparmor](https://wiki.ubuntu.com/AppArmor) restrictions,
which can be disabled with `sudo aa-disable /usr/bin/fusermount3` (you may need to
`sudo apt install apparmor-utils` beforehand).
which can be disabled with `sudo aa-disable /usr/bin/fusermount3` (you may need
to `sudo apt install apparmor-utils` beforehand).
## Limitations
@@ -1050,6 +1052,7 @@ rclone nfsmount remote:path /path/to/mountpoint [flags]
--vfs-case-insensitive If a file name not found, find a case insensitive match
--vfs-disk-space-total-size SizeSuffix Specify the total space of disk (default off)
--vfs-fast-fingerprint Use fast (less accurate) fingerprints for change detection
--vfs-handle-caching Duration Time to keep file handle and downloaders alive after last close (default 5s)
--vfs-links Translate symlinks to/from regular files with a '.rclonelink' extension for the VFS
--vfs-metadata-extension string Set the extension to read metadata from
--vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
+6
View File
@@ -53,6 +53,12 @@ identically.
`--rc-disable-zip` may be set to disable the zipping download option.
### Protocol
The server supports HTTP/1.1 and HTTP/2. HTTP/2 is used automatically
for TLS connections. For non-TLS connections, HTTP/2 cleartext (h2c)
is supported, allowing HTTP/2 without encryption.
### TLS (SSL)
By default this will serve over http. If you want you can serve over
@@ -560,6 +560,7 @@ rclone serve dlna remote:path [flags]
--vfs-case-insensitive If a file name not found, find a case insensitive match
--vfs-disk-space-total-size SizeSuffix Specify the total space of disk (default off)
--vfs-fast-fingerprint Use fast (less accurate) fingerprints for change detection
--vfs-handle-caching Duration Time to keep file handle and downloaders alive after last close (default 5s)
--vfs-links Translate symlinks to/from regular files with a '.rclonelink' extension for the VFS
--vfs-metadata-extension string Set the extension to read metadata from
--vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
@@ -592,6 +592,7 @@ rclone serve docker [flags]
--vfs-case-insensitive If a file name not found, find a case insensitive match
--vfs-disk-space-total-size SizeSuffix Specify the total space of disk (default off)
--vfs-fast-fingerprint Use fast (less accurate) fingerprints for change detection
--vfs-handle-caching Duration Time to keep file handle and downloaders alive after last close (default 5s)
--vfs-links Translate symlinks to/from regular files with a '.rclonelink' extension for the VFS
--vfs-metadata-extension string Set the extension to read metadata from
--vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
@@ -639,6 +639,7 @@ rclone serve ftp remote:path [flags]
--vfs-case-insensitive If a file name not found, find a case insensitive match
--vfs-disk-space-total-size SizeSuffix Specify the total space of disk (default off)
--vfs-fast-fingerprint Use fast (less accurate) fingerprints for change detection
--vfs-handle-caching Duration Time to keep file handle and downloaders alive after last close (default 5s)
--vfs-links Translate symlinks to/from regular files with a '.rclonelink' extension for the VFS
--vfs-metadata-extension string Set the extension to read metadata from
--vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
@@ -55,6 +55,12 @@ identically.
`--disable-zip` may be set to disable the zipping download option.
### Protocol
The server supports HTTP/1.1 and HTTP/2. HTTP/2 is used automatically
for TLS connections. For non-TLS connections, HTTP/2 cleartext (h2c)
is supported, allowing HTTP/2 without encryption.
### TLS (SSL)
By default this will serve over http. If you want you can serve over
@@ -778,6 +784,7 @@ rclone serve http remote:path [flags]
--vfs-case-insensitive If a file name not found, find a case insensitive match
--vfs-disk-space-total-size SizeSuffix Specify the total space of disk (default off)
--vfs-fast-fingerprint Use fast (less accurate) fingerprints for change detection
--vfs-handle-caching Duration Time to keep file handle and downloaders alive after last close (default 5s)
--vfs-links Translate symlinks to/from regular files with a '.rclonelink' extension for the VFS
--vfs-metadata-extension string Set the extension to read metadata from
--vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
@@ -611,6 +611,7 @@ rclone serve nfs remote:path [flags]
--vfs-case-insensitive If a file name not found, find a case insensitive match
--vfs-disk-space-total-size SizeSuffix Specify the total space of disk (default off)
--vfs-fast-fingerprint Use fast (less accurate) fingerprints for change detection
--vfs-handle-caching Duration Time to keep file handle and downloaders alive after last close (default 5s)
--vfs-links Translate symlinks to/from regular files with a '.rclonelink' extension for the VFS
--vfs-metadata-extension string Set the extension to read metadata from
--vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
@@ -132,6 +132,12 @@ identically.
`--disable-zip` may be set to disable the zipping download option.
### Protocol
The server supports HTTP/1.1 and HTTP/2. HTTP/2 is used automatically
for TLS connections. For non-TLS connections, HTTP/2 cleartext (h2c)
is supported, allowing HTTP/2 without encryption.
### TLS (SSL)
By default this will serve over http. If you want you can serve over
+7
View File
@@ -234,6 +234,12 @@ identically.
`--disable-zip` may be set to disable the zipping download option.
### Protocol
The server supports HTTP/1.1 and HTTP/2. HTTP/2 is used automatically
for TLS connections. For non-TLS connections, HTTP/2 cleartext (h2c)
is supported, allowing HTTP/2 without encryption.
### TLS (SSL)
By default this will serve over http. If you want you can serve over
@@ -808,6 +814,7 @@ rclone serve s3 remote:path [flags]
--vfs-case-insensitive If a file name not found, find a case insensitive match
--vfs-disk-space-total-size SizeSuffix Specify the total space of disk (default off)
--vfs-fast-fingerprint Use fast (less accurate) fingerprints for change detection
--vfs-handle-caching Duration Time to keep file handle and downloaders alive after last close (default 5s)
--vfs-links Translate symlinks to/from regular files with a '.rclonelink' extension for the VFS
--vfs-metadata-extension string Set the extension to read metadata from
--vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
@@ -686,6 +686,7 @@ rclone serve sftp remote:path [flags]
--vfs-case-insensitive If a file name not found, find a case insensitive match
--vfs-disk-space-total-size SizeSuffix Specify the total space of disk (default off)
--vfs-fast-fingerprint Use fast (less accurate) fingerprints for change detection
--vfs-handle-caching Duration Time to keep file handle and downloaders alive after last close (default 5s)
--vfs-links Translate symlinks to/from regular files with a '.rclonelink' extension for the VFS
--vfs-metadata-extension string Set the extension to read metadata from
--vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
@@ -79,6 +79,19 @@ rclone --webdav-unix-socket /tmp/my.socket --webdav-url http://localhost lsf :we
Note that there is no authentication on http protocol - this is expected to be
done by the permissions on the socket.
## Symlinks / Junction points
The webdav protocol does not support symlinks or junction points and
by default rclone will skip them completely.
You can use `-L` to get rclone to follow symlinks or you can
use `--local-links` to make rclone show `.rclonelink`
files in place of the symlinks.
**NB** Do not use `--links` as since v1.69 this applies to
the VFS layer too, use `--local-links` which only applies to
the local backend only.
## Server options
Use `--addr` to specify which IP address and port the server should
@@ -112,6 +125,12 @@ identically.
`--disable-zip` may be set to disable the zipping download option.
### Protocol
The server supports HTTP/1.1 and HTTP/2. HTTP/2 is used automatically
for TLS connections. For non-TLS connections, HTTP/2 cleartext (h2c)
is supported, allowing HTTP/2 without encryption.
### TLS (SSL)
By default this will serve over http. If you want you can serve over
@@ -837,6 +856,7 @@ rclone serve webdav remote:path [flags]
--vfs-case-insensitive If a file name not found, find a case insensitive match
--vfs-disk-space-total-size SizeSuffix Specify the total space of disk (default off)
--vfs-fast-fingerprint Use fast (less accurate) fingerprints for change detection
--vfs-handle-caching Duration Time to keep file handle and downloaders alive after last close (default 5s)
--vfs-links Translate symlinks to/from regular files with a '.rclonelink' extension for the VFS
--vfs-metadata-extension string Set the extension to read metadata from
--vfs-read-ahead SizeSuffix Extra read ahead over --buffer-size when using cache-mode full
+4
View File
@@ -31,6 +31,10 @@ time instead of the current time. Times may be specified as one of:
Note that value of `--timestamp` is in UTC. If you want local time
then add the `--localtime` flag.
Metadata can be added when creating a new file with `--metadata-set`.
For example:
rclone touch remote:path -M --metadata-set key=value
```
rclone touch remote:path [flags]
```
+1
View File
@@ -59,6 +59,7 @@ See the following for detailed instructions for
- [Hetzner Storage Box](/sftp/#hetzner-storage-box)
- [HiDrive](/hidrive/)
- [HTTP](/http/)
- [Huawei Drive](/huaweidrive/)
- [iCloud Drive](/iclouddrive/)
- [Internet Archive](/internetarchive/)
- [Internxt](/internxt/)
+22
View File
@@ -219,6 +219,28 @@ Properties:
Here are the Advanced options specific to filelu (FileLu Cloud Storage).
#### --filelu-upload-cutoff
Cutoff for switching to chunked upload. Any files larger than this will be uploaded in chunks of chunk_size.
Properties:
- Config: upload_cutoff
- Env Var: RCLONE_FILELU_UPLOAD_CUTOFF
- Type: SizeSuffix
- Default: 500Mi
#### --filelu-chunk-size
Chunk size to use for uploading. Used for multipart uploads.
Properties:
- Config: chunk_size
- Env Var: RCLONE_FILELU_CHUNK_SIZE
- Type: SizeSuffix
- Default: 64Mi
#### --filelu-encoding
The encoding for the backend.
+1 -1
View File
@@ -124,7 +124,7 @@ Properties:
#### --filen-api-key
API Key for your Filen account
API Key for your Filen account
Get this using the Filen CLI export-api-key command
You can download the Filen CLI from https://github.com/FilenCloudDienste/filen-cli
+36 -5
View File
@@ -121,7 +121,7 @@ Flags for general networking and HTTP stuff.
--tpslimit float Limit HTTP transactions per second to this
--tpslimit-burst int Max burst of transactions for --tpslimit (default 1)
--use-cookies Enable session cookiejar
--user-agent string Set the user-agent to a specified string (default "rclone/v1.73.0")
--user-agent string Set the user-agent to a specified string (default "rclone/v1.74.0")
```
@@ -174,7 +174,7 @@ Flags for developers.
```
--cpuprofile string Write cpu profile to file
--dump DumpFlags List of items to dump from: headers, bodies, requests, responses, auth, filters, goroutines, openfiles, mapper
--dump DumpFlags List of items to dump from: headers, bodies, requests, responses, auth, filters, goroutines, openfiles, mapper, curl
--dump-bodies Dump HTTP headers and bodies - may contain sensitive info
--dump-headers Dump HTTP headers - may contain sensitive info
--memprofile string Write memory profile to file
@@ -355,6 +355,8 @@ Backend-only flags (these can be set in the config file also).
--azureblob-connection-string string Storage Connection String
--azureblob-copy-concurrency int Concurrency for multipart copy (default 512)
--azureblob-copy-cutoff SizeSuffix Cutoff for switching to multipart copy (default 8Mi)
--azureblob-copy-total-concurrency int Global concurrency limit for multipart copy chunks
--azureblob-decompress If set this will decompress gzip encoded objects
--azureblob-delete-snapshots string Set to specify how to deal with snapshots on blob deletion
--azureblob-description string Description of the remote
--azureblob-directory-markers Upload an empty object with a trailing slash when a new directory is created
@@ -605,9 +607,11 @@ Backend-only flags (these can be set in the config file also).
--filefabric-token-expiry string Token expiry time
--filefabric-url string URL of the Enterprise File Fabric to connect to
--filefabric-version string Version read from the file fabric
--filelu-chunk-size SizeSuffix Chunk size to use for uploading. Used for multipart uploads (default 64Mi)
--filelu-description string Description of the remote
--filelu-encoding Encoding The encoding for the backend (default Slash,LtGt,DoubleQuote,SingleQuote,BackQuote,Dollar,Colon,Question,Asterisk,Pipe,Hash,Percent,BackSlash,CrLf,Del,Ctl,LeftSpace,LeftPeriod,LeftTilde,LeftCrLfHtVt,RightSpace,RightPeriod,RightCrLfHtVt,InvalidUtf8,Dot,SquareBracket,Semicolon,Exclamation)
--filelu-key string Your FileLu Rclone key from My Account
--filelu-upload-cutoff SizeSuffix Cutoff for switching to chunked upload. Any files larger than this will be uploaded in chunks of chunk_size (default 500Mi)
--filen-api-key string API Key for your Filen account (obscured)
--filen-auth-version string Authentication Version (internal use only)
--filen-base-folder-uuid string UUID of Account Root Directory (internal use only)
@@ -728,11 +732,24 @@ Backend-only flags (these can be set in the config file also).
--http-no-head Don't use HEAD requests
--http-no-slash Set this if the site doesn't end directories with /
--http-url string URL of HTTP host to connect to
--huaweidrive-auth-url string Auth server URL
--huaweidrive-chunk-size SizeSuffix Upload chunk size (default 8Mi)
--huaweidrive-client-credentials Use client credentials OAuth flow
--huaweidrive-client-id string OAuth Client Id
--huaweidrive-client-secret string OAuth Client Secret
--huaweidrive-description string Description of the remote
--huaweidrive-encoding Encoding The encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Del,Ctl,LeftSpace,LeftPeriod,LeftTilde,RightSpace,RightPeriod,InvalidUtf8,Dot)
--huaweidrive-list-chunk int Size of listing chunk 1-1000 (default 1000)
--huaweidrive-root-folder-id string ID of the root folder
--huaweidrive-token string OAuth Access Token as a JSON blob
--huaweidrive-token-url string Token server url
--huaweidrive-upload-cutoff SizeSuffix Cutoff for switching to resumable upload (default 20Mi)
--iclouddrive-apple-id string Apple ID
--iclouddrive-client-id string Client id (default "d39ba9916b7251055b22c7f910e2ea796ee65e98b2ddecea8f5dde8d9d1a815d")
--iclouddrive-client-id string Client ID for iCloud API access (default "d39ba9916b7251055b22c7f910e2ea796ee65e98b2ddecea8f5dde8d9d1a815d")
--iclouddrive-description string Description of the remote
--iclouddrive-encoding Encoding The encoding for the backend (default Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot)
--iclouddrive-password string Password (obscured)
--iclouddrive-service string iCloud service to use (default "drive")
--imagekit-description string Description of the remote
--imagekit-encoding Encoding The encoding for the backend (default Slash,LtGt,DoubleQuote,Dollar,Question,Hash,Percent,BackSlash,Del,Ctl,InvalidUtf8,Dot,SquareBracket)
--imagekit-endpoint string You can find your ImageKit.io URL endpoint in your [dashboard](https://imagekit.io/dashboard/developer/api-keys)
@@ -751,17 +768,20 @@ Backend-only flags (these can be set in the config file also).
--internetarchive-item-metadata stringArray Metadata to be set on the IA item, this is different from file-level metadata that can be set using --metadata-set
--internetarchive-secret-access-key string IAS3 Secret Key (password)
--internetarchive-wait-archive Duration Timeout for waiting the server's processing tasks (specifically archive and book_op) to finish (default 0s)
--internxt-chunk-size SizeSuffix Chunk size for multipart uploads (default 30Mi)
--internxt-description string Description of the remote
--internxt-email string Email of your Internxt account
--internxt-encoding Encoding The encoding for the backend (default Slash,BackSlash,CrLf,RightPeriod,InvalidUtf8,Dot)
--internxt-pass string Password (obscured)
--internxt-skip-hash-validation Skip hash validation when downloading files (default true)
--internxt-upload-concurrency int Concurrency for multipart uploads (default 4)
--internxt-upload-cutoff SizeSuffix Cutoff for switching to multipart upload (default 100Mi)
--jottacloud-auth-url string Auth server URL
--jottacloud-client-credentials Use client credentials OAuth flow
--jottacloud-client-id string OAuth Client Id
--jottacloud-client-secret string OAuth Client Secret
--jottacloud-description string Description of the remote
--jottacloud-encoding Encoding The encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,Del,Ctl,InvalidUtf8,Dot)
--jottacloud-encoding Encoding The encoding for the backend (default Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,Percent,Del,Ctl,InvalidUtf8,Dot)
--jottacloud-hard-delete Delete files permanently rather than putting them into the trash
--jottacloud-md5-memory-limit SizeSuffix Files bigger than this will be cached on disk to calculate the MD5 if required (default 10Mi)
--jottacloud-no-versions Avoid server side versioning by deleting files and recreating files instead of overwriting them
@@ -778,6 +798,8 @@ Backend-only flags (these can be set in the config file also).
--koofr-setmtime Does the backend support setting modification time (default true)
--koofr-user string Your user name
--linkbox-description string Description of the remote
--linkbox-email string Email for login
--linkbox-password string Password for login (obscured)
--linkbox-token string Token from https://www.linkbox.to/admin/account
--local-case-insensitive Force the filesystem to report itself as case insensitive
--local-case-sensitive Force the filesystem to report itself as case sensitive
@@ -923,7 +945,7 @@ Backend-only flags (these can be set in the config file also).
--premiumizeme-token string OAuth Access Token as a JSON blob
--premiumizeme-token-url string Token server url
--protondrive-2fa string The 2FA code
--protondrive-app-version string The app version string (default "macos-drive@1.0.0-alpha.1+rclone")
--protondrive-app-version string The app version string
--protondrive-description string Description of the remote
--protondrive-enable-caching Caches the files and folders metadata to reduce API calls (default true)
--protondrive-encoding Encoding The encoding for the backend (default Slash,LeftSpace,RightSpace,InvalidUtf8,Dot)
@@ -964,6 +986,8 @@ Backend-only flags (these can be set in the config file also).
--s3-access-key-id string AWS Access Key ID
--s3-acl string Canned ACL used when creating buckets and storing or copying objects
--s3-bucket-acl string Canned ACL used when creating buckets
--s3-bucket-object-lock-enabled Enable Object Lock when creating new buckets
--s3-bypass-governance-retention Allow deleting or modifying objects locked with GOVERNANCE mode
--s3-chunk-size SizeSuffix Chunk size to use for uploading (default 5Mi)
--s3-copy-cutoff SizeSuffix Cutoff for switching to multipart copy (default 4.656Gi)
--s3-decompress If set this will decompress gzip encoded objects
@@ -978,11 +1002,13 @@ Backend-only flags (these can be set in the config file also).
--s3-env-auth Get AWS credentials from runtime (environment variables or EC2/ECS meta data if no env vars)
--s3-force-path-style If true use path style access if false use virtual hosted style (default true)
--s3-ibm-api-key string IBM API Key to be used to obtain IAM token
--s3-ibm-iam-endpoint string IBM IAM Endpoint to use for authentication
--s3-ibm-resource-instance-id string IBM service instance id
--s3-leave-parts-on-error If true avoid calling abort upload on a failure, leaving all successfully uploaded parts on S3 for manual recovery
--s3-list-chunk int Size of listing chunk (response list for each ListObject S3 request) (default 1000)
--s3-list-url-encode Tristate Whether to url encode listings: true/false/unset (default unset)
--s3-list-version int Version of ListObjects to use: 1,2 or 0 for auto
--s3-list-versions-oldest-first Tristate Set if the backend returns object versions oldest first (default unset)
--s3-location-constraint string Location constraint - must be set to match the Region
--s3-max-upload-parts int Maximum number of parts in a multipart upload (default 10000)
--s3-might-gzip Tristate Set this if the backend might gzip objects (default unset)
@@ -990,6 +1016,11 @@ Backend-only flags (these can be set in the config file also).
--s3-no-head If set, don't HEAD uploaded objects to check integrity
--s3-no-head-object If set, do not do HEAD before GET when getting objects
--s3-no-system-metadata Suppress setting and reading of system metadata
--s3-object-lock-legal-hold-status string Object Lock legal hold status to apply when uploading or copying objects
--s3-object-lock-mode string Object Lock mode to apply when uploading or copying objects
--s3-object-lock-retain-until-date string Object Lock retention until date to apply when uploading or copying objects
--s3-object-lock-set-after-upload Set Object Lock via separate API calls after upload
--s3-object-lock-supported Tristate Whether the provider supports S3 Object Lock (default unset)
--s3-profile string Profile to use in the shared credentials file
--s3-provider string Choose your S3 provider
--s3-region string Region to connect to
+91 -78
View File
@@ -2,111 +2,124 @@
title: "GUI"
description: "Web based Graphical User Interface"
versionIntroduced: "v1.49"
status: "Beta"
---
# GUI (Experimental)
# rclone gui
Rclone can serve a web based GUI (graphical user interface). This is
somewhat experimental at the moment so things may be subject to
change.
The `rclone gui` command starts the official Web GUI that comes
bundled with rclone.
Run this command in a terminal and rclone will download and then
display the GUI in a web browser.
With this command, rclone can serve a web-based GUI (graphical user
interface) that is accessible from a normal web browser.
Run it in a terminal and rclone will initialize and then start the
GUI.
```console
rclone rcd --rc-web-gui
rclone gui
```
This will produce logs like this and rclone needs to continue to run to serve
the GUI:
This will produce logs like this. The terminal window needs to stay
open to continue to run the GUI:
```text
2019/08/25 11:40:14 NOTICE: A new release for gui is present at https://github.com/rclone/rclone-webui-react/releases/download/v0.0.6/currentbuild.zip
2019/08/25 11:40:14 NOTICE: Downloading webgui binary. Please wait. [Size: 3813937, Path : /home/USER/.cache/rclone/webgui/v0.0.6.zip]
2019/08/25 11:40:16 NOTICE: Unzipping
2019/08/25 11:40:16 NOTICE: Serving remote control on http://127.0.0.1:5572/
```console
2026/04/14 11:36:04 NOTICE: Serving remote control on http://127.0.0.1:50803/
2026/04/14 11:36:04 NOTICE: Serving GUI on http://127.0.0.1:50802/
2026/04/14 11:36:04 NOTICE: GUI available at http://127.0.0.1:50802/login?pass=XXX&url=http%3A%2F%2F127.0.0.1%3A50803%2F&user=gui
```
This assumes you are running rclone locally on your machine. It is
possible to separate the rclone and the GUI - see below for details.
If you wish to check for updates then you can add `--rc-web-gui-update`
to the command line.
If you find your GUI broken, you may force it to update by add `--rc-web-gui-force-update`.
By default, rclone will open your browser. Add `--rc-web-gui-no-open-browser`
to disable this feature.
You can also add debugging flags when running the GUI, such as `-v`,
which will show more logging output from the rc server.
## Using the GUI
Once the GUI opens, you will be looking at the dashboard which has an overall overview.
Once the browser opens, you will be presented with the Dashboard, the
main screen where you can see the status of your remotes and system.
On the left hand side you will see a series of view buttons you can click on:
At the top, starting from the left, you will see a series of tabs you
can click on. On the right side you will have the logout button and
potentially an "Update available" message if a new rclone version has
been released.
- Dashboard - main overview
- Configs - examine and create new configurations
- Explorer - view, download and upload files to the cloud storage systems
- Backend - view or alter the backend config
- Log out
### Dashboard
(More docs and walkthrough video to come!)
See live metrics, learn if your remotes are near capacity, and read
the changelog for the current version.
### Explorer
Explore and manage both local disks and remotes, download files and
directories and start transfers.
### Remotes
Scroll the list of remotes and tap on it to navigate to the explorer.
There you can navigate the contents of your remotes, transfer,
download, and even upload files.
### Mounts
Mount remotes as local drives on your computer and check on your
existing mounts.
### Serves
Get quick info about your active serve instances, and start new ones.
### Settings
Edit your `rclone.conf` file directly, set logging flags, and
performance parameters.
## How it works
When you run the `rclone rcd --rc-web-gui` this is what happens
When you run `rclone gui` this is what happens
- Rclone starts but only runs the remote control API ("rc").
- The API is bound to localhost with an auto-generated username and password.
- If the API bundle is missing then rclone will download it.
- rclone will start serving the files from the API bundle over the same port as
the API
- rclone will open the browser with a `login_token` so it can log straight in.
- Rclone starts the remote control API ("rc").
- Rclone starts a second server to serve the Web GUI.
- If a port, username or password is not specified, then missing
values will be auto-generated.
- Unless `--no-open-browser` is passed, a browser window will open.
- The URL already contains the username & password, in which case the
GUI will use those values and log you in automatically.
## Advanced use
## Security
The `rclone rcd` may use any of the [flags documented on the rc page](https://rclone.org/rc/#supported-parameters).
It's important to think first about what rclone has access to and what
you might be sharing.
The flag `--rc-web-gui` is shorthand for
A few good measures:
- Download the web GUI if necessary
- Check we are using some authentication
- `--rc-user gui`
- `--rc-pass <random password>`
- `--rc-serve`
- Don't use `--no-auth` (this is for testing only).
- Do not expose to the local network (eg with `--api-addr :5572 --addr
:8080`) unless you trust all devices on your local network. Prefer
`127.0.0.1` or `localhost` (the default).
- Use a strong password and non-obvious usernames like "admin" or
"rclone" if you are using `--user` and `--pass`.
- If you want to host it on a server and access it remotely, make sure
you're only exposing the GUI and not the RC API. They listen on
different ports.
These flags can be overridden as desired.
If you want to access it remotely but want to avoid running a proxy
and exposing ports, you can use Cloudflare Tunnels or localhost.run or
Tailscale (all free).
See also the [rclone rcd documentation](https://rclone.org/commands/rclone_rcd/).
## Options
### Example: Running a public GUI
```console
--addr stringArray IPaddress:Port for the GUI server (default auto-chosen localhost port)
--api-addr stringArray IPaddress:Port for the RC API server (default auto-chosen localhost port)
--enable-metrics Enable OpenMetrics/Prometheus compatible endpoint at /metrics
-h, --help help for gui
--no-auth Don't require auth for the RC API
--no-open-browser Skip opening the browser automatically
--pass string Password for RC authentication
--user string User name for RC authentication
```
For example the GUI could be served on a public port over SSL using an htpasswd
file using the following flags:
## History
- `--rc-web-gui`
- `--rc-addr :443`
- `--rc-htpasswd /path/to/htpasswd`
- `--rc-cert /path/to/ssl.crt`
- `--rc-key /path/to/ssl.key`
### Example: Running a GUI behind a proxy
If you want to run the GUI behind a proxy at `/rclone` you could use these flags:
- `--rc-web-gui`
- `--rc-baseurl rclone`
- `--rc-htpasswd /path/to/htpasswd`
Or instead of htpasswd if you just want a single user and password:
- `--rc-user me`
- `--rc-pass mypassword`
## Project
The GUI is being developed in the: [rclone/rclone-webui-react repository](https://github.com/rclone/rclone-webui-react).
Bug reports and contributions are very welcome :-)
If you have questions then please ask them on the [rclone forum](https://forum.rclone.org/).
In v1.74 the GUI was redone and embedded within rclone for ease of
use. The GUI bundle ships as a compressed zip embedded in the rclone
binary and is served from the zip at runtime.
+513
View File
@@ -0,0 +1,513 @@
---
title: "Huawei Drive"
description: "Rclone docs for Huawei Drive"
versionIntroduced: "v1.74"
---
# Huawei Drive
Paths are specified as `huaweidrive:path`
Huawei Drive paths may be as deep as required, e.g. `huaweidrive:directory/subdirectory`.
## Configuration
The initial setup for Huawei Drive involves getting a token from Huawei Drive
which you need to do in your browser. `rclone config` walks you
through it.
Here is an example of how to make a remote called `remote`. First run:
```sh
rclone config
```
This will guide you through an interactive setup process:
```text
No remotes found, make a new one?
n) New remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
n/r/c/s/q> n
name> remote
Type of storage to configure.
Choose a number from below, or type in your own value
[snip]
XX / Huawei Drive
\ "huaweidrive"
[snip]
Storage> huaweidrive
OAuth Client Id - leave blank to use rclone's default.
client_id>
OAuth Client Secret - leave blank to use rclone's default.
client_secret>
Remote config
Use web browser to automatically authenticate rclone with remote?
* Say Y if the machine running rclone has a web browser you can use
* Say N if running rclone on a (remote) machine without web browser access
If not sure try Y. If Y failed, try N.
y) Yes
n) No
y/n> y
If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth
Log in and authorize rclone for access
Waiting for code...
Got code
Configuration complete.
Options:
- type: huaweidrive
- client_id:
- client_secret:
- token: {"access_token":"XXX","token_type":"Bearer","refresh_token":"XXX","expiry":"2024-03-16T13:57:58.955387075Z"}
Keep this "remote" remote?
y) Yes this is OK
e) Edit this remote
d) Delete this remote
y/e/d> y
```
See the [remote setup docs](/remote_setup/) for how to set it up on a
machine without an internet-connected web browser available.
Note that rclone runs a webserver on your local machine to collect the
token as returned from Huawei if using web browser to automatically
authenticate. This only runs from the moment it opens your browser to the moment you get back
the verification code. This is on `http://127.0.0.1:53682/` and it
may require you to unblock it temporarily if you are running a host
firewall, or use manual mode.
You can then use it like this,
List directories in top level of your drive
```sh
rclone lsd remote:
```
List all the files in your drive
```sh
rclone ls remote:
```
To copy a local directory to a drive directory called backup
```sh
rclone copy /home/source remote:backup
```
### Getting your own Client ID and Secret
When you use rclone with Huawei Drive in its default configuration you
are using rclone's client_id. This is shared between all the rclone
users. There is a global rate limit on the number of queries per
second that each client_id can do set by Huawei.
It is strongly recommended to use your own client ID as the default rclone ID is heavily used. If you have multiple services running, it is recommended to use a separate client ID for each service to avoid rate limiting issues.
Here is how to create your own Huawei Drive client ID for rclone:
Follow the detailed guides for complete setup instructions:
- [Huawei HMS Core Web App Preparations](https://developer.huawei.com/consumer/cn/doc/HMSCore-Guides/web-preparations-0000001050050891)
- [Huawei HMS Core Server Preparations](https://developer.huawei.com/consumer/cn/doc/HMSCore-Guides/server-preparations-0000001050185577#section194911701377)
Rclone uses the web application access method to connect to Huawei Drive. Before starting, you need to implement quick login authorization through Huawei Account Open Service. With user authorization credentials, rclone can call Huawei Cloud Drive Service APIs.
#### Create Server Application
Before accessing Drive service, developers need to create a server application first. For details, please refer to the WEB Application Access Development Preparation section in the "Huawei Account Service Development Guide".
#### Enable Drive Application Switch
1. Log in to the AppGallery Connect website and click "My Projects".
2. Find your project in the project list, select the application that needs to access Drive in the project, and click "API Management".
3. In the "API Management" area of the "Project Settings" page, click the switch on the right side of Drive Kit to ensure the switch is in the open state.
#### Sign Huawei Cloud Drive Privacy Notice and User Agreement
Guide users to visit <https://cloud.huawei.com/>. First-time users need to sign the agreement before they can use Huawei Cloud Drive Service.
#### Application Access to Obtain Authentication Credential Access Token
Applications accessing Drive should use authentication credential Access Token. For specific acquisition methods, please refer to the WEB Application Access Development Guide section in the "Huawei Account Service Development Guide".
Key steps summary:
1. Log into the [Huawei Developer Console](https://developer.huawei.com/consumer/en/console) with your Huawei account.
2. Create a new project or select an existing project.
3. Go to "Manage APIs" and enable the "Drive Kit" API.
4. Click on "Credentials" in the left side panel.
5. Click "Create Credentials" and choose "OAuth client ID".
6. Choose "Web application" as the application type.
7. Add `http://localhost:53682/` to the "Authorized redirect URIs".
8. Click "Create" and note down the Client ID and Client Secret.
9. Provide the noted client ID and client secret to rclone during configuration.
### Scopes
Rclone uses the following OAuth2 scopes when accessing Huawei Drive:
- `https://www.huawei.com/auth/drive` - Full access to Huawei Drive files (excluding application data folder)
- `https://www.huawei.com/auth/drive.file` - Access to files created by the application
- `openid` - OpenID Connect authentication
- `profile` - Access to basic profile information
The `drive.file` scope is included in the default set used by rclone.
Alternative scopes available (not used by rclone by default):
- `https://www.huawei.com/auth/drive.appdata` - Access to application data folder
- `https://www.huawei.com/auth/drive.readonly` - Read-only access to file metadata and content
- `https://www.huawei.com/auth/drive.metadata` - Read/write access to file metadata only
- `https://www.huawei.com/auth/drive.metadata.readonly` - Read-only access to file metadata only
The default scopes provide read/write access to all files in your Huawei Drive.
### Modification times and hashes
Huawei Drive does not support setting modification times. The API
always uses server-side timestamps, so file modification times from
the source are not preserved during upload. Modification times are
available as read-only metadata (`mtime`, `btime`).
Hash algorithm SHA256 is supported for file integrity verification.
### Restricted filename characters
Huawei Drive has strict restrictions on file and directory names:
- Cannot contain: `< > | : " * ? / \` or emoji characters
- Cannot be exactly `. ..`
- Maximum length: 250 bytes
- Single quotes must be escaped with `\'` in API calls
These restrictions are handled by rclone's encoding:
- Backslashes `\` are encoded
- Invalid UTF-8 sequences are encoded
- Right-side spaces are encoded
Invalid characters will be [replaced](/overview/#invalid-utf8) according to the encoding settings.
### Resumable uploads
Huawei Drive supports resumable uploads for files larger than the upload cutoff (default 20MB).
Files are uploaded in chunks which allows for recovery from network interruptions.
### File size limits
The maximum file size for Huawei Drive is 50 GiB.
### Quota information
To view your current quota you can use the `rclone about remote:`
command which will display your usage and quota information.
<!-- autogenerated options start - DO NOT EDIT - instead edit fs.RegInfo in backend/huaweidrive/huaweidrive.go and run make backenddocs to verify --> <!-- markdownlint-disable-line line-length -->
### Standard options
Here are the Standard options specific to huaweidrive (Huawei Drive).
#### --huaweidrive-client-id
OAuth Client Id.
Leave blank normally.
Properties:
- Config: client_id
- Env Var: RCLONE_HUAWEIDRIVE_CLIENT_ID
- Type: string
- Required: false
#### --huaweidrive-client-secret
OAuth Client Secret.
Leave blank normally.
Properties:
- Config: client_secret
- Env Var: RCLONE_HUAWEIDRIVE_CLIENT_SECRET
- Type: string
- Required: false
### Advanced options
Here are the Advanced options specific to huaweidrive (Huawei Drive).
#### --huaweidrive-token
OAuth Access Token as a JSON blob.
Properties:
- Config: token
- Env Var: RCLONE_HUAWEIDRIVE_TOKEN
- Type: string
- Required: false
#### --huaweidrive-auth-url
Auth server URL.
Leave blank to use the provider defaults.
Properties:
- Config: auth_url
- Env Var: RCLONE_HUAWEIDRIVE_AUTH_URL
- Type: string
- Required: false
#### --huaweidrive-token-url
Token server url.
Leave blank to use the provider defaults.
Properties:
- Config: token_url
- Env Var: RCLONE_HUAWEIDRIVE_TOKEN_URL
- Type: string
- Required: false
#### --huaweidrive-client-credentials
Use client credentials OAuth flow.
This will use the OAUTH2 client Credentials Flow as described in RFC 6749.
Note that this option is NOT supported by all backends.
Properties:
- Config: client_credentials
- Env Var: RCLONE_HUAWEIDRIVE_CLIENT_CREDENTIALS
- Type: bool
- Default: false
#### --huaweidrive-root-folder-id
ID of the root folder.
Normally this is auto-detected, but if it fails or you want to speed up startup,
you can set it manually.
Leave blank normally.
Properties:
- Config: root_folder_id
- Env Var: RCLONE_HUAWEIDRIVE_ROOT_FOLDER_ID
- Type: string
- Required: false
#### --huaweidrive-chunk-size
Upload chunk size.
Must be a power of 2 >= 256k and <= 64MB.
Properties:
- Config: chunk_size
- Env Var: RCLONE_HUAWEIDRIVE_CHUNK_SIZE
- Type: SizeSuffix
- Default: 8Mi
#### --huaweidrive-list-chunk
Size of listing chunk 1-1000.
Properties:
- Config: list_chunk
- Env Var: RCLONE_HUAWEIDRIVE_LIST_CHUNK
- Type: int
- Default: 1000
#### --huaweidrive-upload-cutoff
Cutoff for switching to resumable upload.
Any files larger than this will be uploaded using resumable upload.
The minimum is 0 and the maximum is 20 MiB (Huawei Drive API limit for single request uploads).
Properties:
- Config: upload_cutoff
- Env Var: RCLONE_HUAWEIDRIVE_UPLOAD_CUTOFF
- Type: SizeSuffix
- Default: 20Mi
#### --huaweidrive-encoding
The encoding for the backend.
See the [encoding section in the overview](/overview/#encoding) for more info.
Properties:
- Config: encoding
- Env Var: RCLONE_HUAWEIDRIVE_ENCODING
- Type: Encoding
- Default: Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,BackSlash,Del,Ctl,LeftSpace,LeftPeriod,LeftTilde,RightSpace,RightPeriod,InvalidUtf8,Dot
#### --huaweidrive-description
Description of the remote.
Properties:
- Config: description
- Env Var: RCLONE_HUAWEIDRIVE_DESCRIPTION
- Type: string
- Required: false
### Metadata
Huawei Drive supports reading and writing custom metadata.
User metadata can be set using the "properties" field in the API.
System metadata includes standard file information such as:
- content-type: MIME type of the object
- description: User-provided description
- favorite: Whether file is marked as favorite
- btime/mtime/utime: Various timestamps
- sha256: File hash
- recycled/has-thumbnail: File status flags
Custom metadata keys can be any string and will be stored in the file's properties.
Here are the possible system metadata items for the huaweidrive backend.
| Name | Help | Type | Example | Read Only |
|------|------|------|---------|-----------|
| btime | Time when the file was created (RFC 3339) | RFC 3339 | | **Y** |
| content-type | MIME type of the object | string | | **Y** |
| description | Description of the file | string | | N |
| favorite | Whether the file is marked as favorite (true/false) | string | | N |
| has-thumbnail | Whether the file has a thumbnail (true/false) | string | | **Y** |
| mtime | Time when the file content was last modified (RFC 3339) | RFC 3339 | | **Y** |
| recycled | Whether the file is in recycle bin (true/false) | string | | **Y** |
| sha256 | SHA256 hash of the file | string | | **Y** |
| utime | Time when the file was last edited by the current user (RFC 3339) | RFC 3339 | | **Y** |
See the [metadata](/docs/#metadata) docs for more info.
<!-- autogenerated options stop -->
## Limitations
Huawei Drive has some rate limiting which may cause rclone to slow down transfers to avoid hitting the limits.
### File name restrictions
- File names cannot contain: `< > | : " * ? / \`
- File names cannot be exactly `. ..`
- Maximum file name length is 250 bytes
- Some unicode characters including emojis are not supported
### API rate limits
Huawei Drive imposes API rate limits. Rclone automatically handles these by backing off when limits are hit.
### OAuth2 token expiry
- Access tokens expire after 1 hour
- Refresh tokens expire after 180 days
- Rclone will automatically refresh tokens as needed
### File size limits
- Maximum file size is 50 GiB
- Files larger than this cannot be uploaded
### Upload behavior
- Files smaller than `upload_cutoff` (default 20MB) are uploaded in a single request using content or multipart method
- Larger files are uploaded using resumable uploads with configurable chunk size
- Maximum single chunk size for resumable uploads is 64MB
- Resumable uploads support automatic retry on network errors
- SHA256 hash verification is supported for uploaded files
### Server-side operations
- Server-side copy: Files can be copied within Huawei Drive without downloading and re-uploading
- Server-side move: Files and directories can be moved/renamed on the server side
- Directory move: Entire directories can be moved with a single API call
### Directory operations
- Huawei Drive supports creating empty directories
- Recursive listing is supported via `--fast-list` for efficient directory traversal
- Huawei Drive has a special "applicationData" folder for app-specific data (not accessible via rclone's default configuration)
## Error handling
Common errors and their meanings:
- `401 Unauthorized`: Invalid credentials or expired token
- `403 Forbidden`: Usually indicates insufficient permissions or API quota exceeded
- `404 Not Found`: File or directory does not exist
- `409 Conflict`: Directory already exists
- `429 Too Many Requests`: API rate limit exceeded, rclone will automatically retry
## Performance tuning
For better performance:
- Increase `--transfers` for concurrent operations (default is 4)
- Adjust `chunk_size` based on your network speed and file sizes
- Use `--fast-list` for operations on directories with many files to reduce API calls
## Making backups
Huawei Drive is suitable for backups with some considerations:
- Use `rclone sync` rather than `rclone copy` to maintain exact directory structure
- Consider using `--backup-dir` to preserve deleted files
- Verify transfers with `--checksum` flag for critical data
- Be aware of the 50 GiB file size limit for individual files
## Supported features
Huawei Drive supports the following rclone features:
- `Copy` - Server-side copy of files
- `Move` - Server-side move/rename of files
- `DirMove` - Server-side move of directories
- `ListR` - Recursive listing for `--fast-list`
- `About` - Storage quota information
- `Purge` - Delete directory and all contents
- `CleanUp` - Empty the trash
- `UserInfo` - Get user account information
- `Metadata` - Read and write file metadata/properties
- `ChangeNotify` - Poll for remote changes (used by `rclone mount` and `rclone rc vfs/poll-interval`)
## Integration with other services
Huawei Drive can be used as a backend for various rclone operations:
- Mount as a local filesystem using `rclone mount`
- Serve over HTTP using `rclone serve http`
- Serve over FTP using `rclone serve ftp`
- Serve over WebDAV using `rclone serve webdav`
Note that some operations may be slower than local storage due to API limitations and network latency.
+38 -6
View File
@@ -4,7 +4,7 @@ description: "Rclone docs for iCloud Drive and Photos"
versionIntroduced: "v1.69"
---
# {{< icon "fa fa-cloud" >}} iCloud Drive and Photos
# iCloud Drive and Photos
## Configuration
@@ -232,7 +232,23 @@ If the remote still has stale auth state, clear the `cookies` and
<!-- autogenerated options start - DO NOT EDIT - instead edit fs.RegInfo in backend/iclouddrive/iclouddrive.go and run make backenddocs to verify --> <!-- markdownlint-disable-line line-length -->
### Standard options
Here are the Standard options specific to iclouddrive (iCloud Drive).
Here are the Standard options specific to iclouddrive (iCloud Drive and Photos).
#### --iclouddrive-service
iCloud service to use.
Properties:
- Config: service
- Env Var: RCLONE_ICLOUDDRIVE_SERVICE
- Type: string
- Default: "drive"
- Examples:
- "drive"
- iCloud Drive
- "photos"
- iCloud Photos
#### --iclouddrive-apple-id
@@ -260,7 +276,7 @@ Properties:
#### --iclouddrive-trust-token
Trust token (internal use)
Trust token for session authentication.
Properties:
@@ -271,7 +287,7 @@ Properties:
#### --iclouddrive-cookies
cookies (internal use only)
Session cookies.
Properties:
@@ -282,11 +298,11 @@ Properties:
### Advanced options
Here are the Advanced options specific to iclouddrive (iCloud Drive).
Here are the Advanced options specific to iclouddrive (iCloud Drive and Photos).
#### --iclouddrive-client-id
Client id
Client ID for iCloud API access.
Properties:
@@ -319,4 +335,20 @@ Properties:
- Type: string
- Required: false
### Metadata
Metadata is read-only and available for the Photos service only.
Here are the possible system metadata items for the iclouddrive backend.
| Name | Help | Type | Example | Read Only |
|------|------|------|---------|-----------|
| added-time | Time the item was added to the iCloud library | RFC 3339 | 2006-01-02T15:04:05Z | **Y** |
| favorite | Whether the item is marked as favorite | bool | | **Y** |
| height | Image height in pixels | int | | **Y** |
| hidden | Whether the item is hidden | bool | | **Y** |
| width | Image width in pixels | int | | **Y** |
See the [metadata](/docs/#metadata) docs for more info.
<!-- autogenerated options stop -->
+44
View File
@@ -161,6 +161,50 @@ Properties:
- Type: bool
- Default: true
#### --internxt-upload-concurrency
Concurrency for multipart uploads.
This is the number of chunks of the same file that are uploaded concurrently.
Note that each chunk is buffered in memory.
Properties:
- Config: upload_concurrency
- Env Var: RCLONE_INTERNXT_UPLOAD_CONCURRENCY
- Type: int
- Default: 4
#### --internxt-upload-cutoff
Cutoff for switching to multipart upload.
Any files larger than this will be uploaded in chunks of chunk_size.
The minimum is 100 MiB and the maximum is 5 GiB.
Properties:
- Config: upload_cutoff
- Env Var: RCLONE_INTERNXT_UPLOAD_CUTOFF
- Type: SizeSuffix
- Default: 100Mi
#### --internxt-chunk-size
Chunk size for multipart uploads.
Files larger than upload_cutoff will be uploaded in chunks of this size.
Memory usage is approximately chunk_size * upload_concurrency.
Properties:
- Config: chunk_size
- Env Var: RCLONE_INTERNXT_CHUNK_SIZE
- Type: SizeSuffix
- Default: 30Mi
#### --internxt-encoding
The encoding for the backend.
+1 -1
View File
@@ -555,7 +555,7 @@ Properties:
- Config: encoding
- Env Var: RCLONE_JOTTACLOUD_ENCODING
- Type: Encoding
- Default: Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,Del,Ctl,InvalidUtf8,Dot
- Default: Slash,LtGt,DoubleQuote,Colon,Question,Asterisk,Pipe,Percent,Del,Ctl,InvalidUtf8,Dot
#### --jottacloud-description
+35
View File
@@ -93,6 +93,41 @@ Properties:
- Type: string
- Required: true
#### --linkbox-email
Email for login
Properties:
- Config: email
- Env Var: RCLONE_LINKBOX_EMAIL
- Type: string
- Required: true
#### --linkbox-password
Password for login
**NB** Input to this must be obscured - see [rclone obscure](/commands/rclone_obscure/).
Properties:
- Config: password
- Env Var: RCLONE_LINKBOX_PASSWORD
- Type: string
- Required: true
#### --linkbox-web-token
Web API login token - set automatically.
Properties:
- Config: web_token
- Env Var: RCLONE_LINKBOX_WEB_TOKEN
- Type: string
- Required: false
### Advanced options
Here are the Advanced options specific to linkbox (Linkbox).
+6 -1
View File
@@ -317,15 +317,20 @@ rclone backend addurl remote: [options] [<arguments>+]
This command adds offline download task for url.
Usage example:
Usage examples:
```console
rclone backend addurl pikpak:dirpath url
rclone backend addurl pikpak:dirpath url -o name=custom_filename.zip
```
Downloads will be stored in 'dirpath'. If 'dirpath' is invalid,
download will fallback to default 'My Pack' folder.
Options:
- "name": Custom filename for the downloaded file.
### decompress
Request decompress of a file/files in a folder.
+6 -4
View File
@@ -296,16 +296,18 @@ Properties:
The app version string
The app version string indicates the client that is currently performing
the API request. This information is required and will be sent with every
API request.
The app version string identifies the client that is currently performing
the API request. Third-party Proton Drive integrations should use the form
external-drive-<project>@<version>. If this option is left empty, rclone
derives a compliant value from its own version. This value is sent with
every API request; the option itself is optional.
Properties:
- Config: app_version
- Env Var: RCLONE_PROTONDRIVE_APP_VERSION
- Type: string
- Default: "macos-drive@1.0.0-alpha.1+rclone"
- Required: false
#### --protondrive-replace-existing-draft
+111 -137
View File
@@ -643,8 +643,6 @@ Note that arguments must be preceded by the "-a" flag
See the [backend](/commands/rclone_backend/) command for more information.
**Authentication is required for this call.**
### cache/expire: Purge a remote from cache {#cache-expire}
Purge a remote from the cache backend. Supports either a directory or a file.
@@ -688,6 +686,8 @@ is used on top of the cache.
Show statistics for the cache remote.
**Authentication is not required for this call.**
### config/create: create the config for a remote. {#config-create}
This takes the following parameters:
@@ -708,8 +708,6 @@ This takes the following parameters:
See the [config create](/commands/rclone_config_create/) command for more information on the above.
**Authentication is required for this call.**
### config/delete: Delete a remote in the config file. {#config-delete}
Parameters:
@@ -718,8 +716,6 @@ Parameters:
See the [config delete](/commands/rclone_config_delete/) command for more information on the above.
**Authentication is required for this call.**
### config/dump: Dumps the config file. {#config-dump}
Returns a JSON object:
@@ -729,8 +725,6 @@ Where keys are remote names and values are the config parameters.
See the [config dump](/commands/rclone_config_dump/) command for more information on the above.
**Authentication is required for this call.**
### config/get: Get a remote in the config file. {#config-get}
Parameters:
@@ -739,8 +733,6 @@ Parameters:
See the [config dump](/commands/rclone_config_dump/) command for more information on the above.
**Authentication is required for this call.**
### config/listremotes: Lists the remotes in the config file and defined in environment variables. {#config-listremotes}
Returns
@@ -748,8 +740,6 @@ Returns
See the [listremotes](/commands/rclone_listremotes/) command for more information on the above.
**Authentication is required for this call.**
### config/password: password the config for a remote. {#config-password}
This takes the following parameters:
@@ -760,8 +750,6 @@ This takes the following parameters:
See the [config password](/commands/rclone_config_password/) command for more information on the above.
**Authentication is required for this call.**
### config/paths: Reads the config file path and other important paths. {#config-paths}
Returns a JSON object with the following keys:
@@ -780,8 +768,6 @@ Eg
See the [config paths](/commands/rclone_config_paths/) command for more information on the above.
**Authentication is required for this call.**
### config/providers: Shows how providers are configured in the config file. {#config-providers}
Returns a JSON object:
@@ -794,16 +780,12 @@ Note that the Options blocks are in the same format as returned by
"options/info". They are described in the
[option blocks](#option-blocks) section.
**Authentication is required for this call.**
### config/setpath: Set the path of the config file {#config-setpath}
Parameters:
- path - path to the config file to use
**Authentication is required for this call.**
### config/unlock: Unlock the config file. {#config-unlock}
Unlocks the config file if it is locked.
@@ -814,8 +796,6 @@ Parameters:
A good idea is to disable AskPassword before making this call
**Authentication is required for this call.**
### config/update: update the config for a remote. {#config-update}
This takes the following parameters:
@@ -835,8 +815,6 @@ This takes the following parameters:
See the [config update](/commands/rclone_config_update/) command for more information on the above.
**Authentication is required for this call.**
### core/bwlimit: Set the bandwidth limit. {#core-bwlimit}
This sets the bandwidth limit to the string passed in. This should be
@@ -923,7 +901,20 @@ OR
```
**Authentication is required for this call.**
### core/disks: List the local disks {#core-disks}
This does not take any parameters
This call is for rclone GUI programs to enumerate local disks and
important directories for doing transfers to and from. The list
returned will include the root directory and the user's home directory
and any mounted disks. The returned items should be usable directly as
remotes.
Returns:
- disks
- This is an array of strings of local disk names
### core/du: Returns disk usage of a locally attached disk. {#core-du}
@@ -947,6 +938,8 @@ Returns:
}
```
**Authentication is not required for this call.**
### core/gc: Runs a garbage collection. {#core-gc}
This tells the go runtime to do a garbage collection run. It isn't
@@ -969,6 +962,8 @@ Returns the following values:
}
```
**Authentication is not required for this call.**
### core/memstats: Returns the memory statistics {#core-memstats}
This returns the memory statistics of the running program. What the values mean
@@ -1019,6 +1014,7 @@ Returns the following values:
{
"bytes": total transferred bytes since the start of the group,
"checks": number of files checked,
"deletedDirs": number of directories deleted,
"deletes" : number of files deleted,
"elapsedTime": time in floating point seconds since rclone was started,
"errors": number of errors,
@@ -1057,6 +1053,8 @@ Returns the following values:
Values for "transferring", "checking" and "lastError" are only assigned if data is available.
The value for "eta" is null if an eta cannot be determined.
**Authentication is not required for this call.**
### core/stats-delete: Delete stats group. {#core-stats-delete}
This deletes entire stats group.
@@ -1108,6 +1106,8 @@ Returns the following values:
}
```
**Authentication is not required for this call.**
### core/version: Shows the current version of rclone, Go and the OS. {#core-version}
This shows the current versions of rclone, Go and the OS:
@@ -1125,6 +1125,8 @@ This shows the current versions of rclone, Go and the OS:
- linking - type of rclone executable (static or dynamic)
- goTags - space separated build tags or "none"
**Authentication is not required for this call.**
### debug/set-block-profile-rate: Set runtime.SetBlockProfileRate for blocking profiling. {#debug-set-block-profile-rate}
SetBlockProfileRate controls the fraction of goroutine blocking events
@@ -1220,8 +1222,6 @@ If you change the parameters of a backend then you may want to call
this to clear an existing remote out of the cache before re-creating
it.
**Authentication is required for this call.**
### fscache/entries: Returns the number of entries in the fs cache. {#fscache-entries}
This returns the number of entries in the fs cache.
@@ -1229,8 +1229,6 @@ This returns the number of entries in the fs cache.
Returns
- entries - number of items in the cache
**Authentication is required for this call.**
### job/batch: Run a batch of rclone rc commands concurrently. {#job-batch}
This takes the following parameters:
@@ -1290,8 +1288,6 @@ Gives the result:
}
```
**Authentication is required for this call.**
### job/list: Lists the IDs of the running jobs {#job-list}
Parameters: None.
@@ -1303,6 +1299,8 @@ Results:
- runningIds - array of integer job ids that are running
- finishedIds - array of integer job ids that are finished
**Authentication is not required for this call.**
### job/status: Reads the status of the job ID {#job-status}
Parameters:
@@ -1323,6 +1321,8 @@ Results:
- output - output of the job as would have been returned if called synchronously
- progress - output of the progress related to the underlying job
**Authentication is not required for this call.**
### job/stop: Stop the running job {#job-stop}
Parameters:
@@ -1347,8 +1347,6 @@ Eg
rclone rc mount/listmounts
**Authentication is required for this call.**
### mount/mount: Create a new mount point {#mount-mount}
rclone allows Linux, FreeBSD, macOS and Windows to mount any of
@@ -1364,12 +1362,24 @@ This takes the following parameters:
- mountOpt: a JSON object with Mount options in.
- vfsOpt: a JSON object with VFS options in.
On Windows mountPoint may be set to "*" to assign the next available
drive letter automatically, or a network share UNC path (e.g.
"\\server\share") to mount as a network drive. In these cases the
actual drive letter is chosen at mount time.
This returns the following values:
- mountPoint: the actual mount point that was used (this may differ
from the input, e.g. on Windows when "*" is passed the allocated
drive letter is returned)
Example:
```console
rclone rc mount/mount fs=mydrive: mountPoint=/home/<user>/mountPoint
rclone rc mount/mount fs=mydrive: mountPoint=/home/<user>/mountPoint mountType=mount
rclone rc mount/mount fs=TestDrive: mountPoint=/mnt/tmp vfsOpt='{"CacheMode": 2}' mountOpt='{"AllowOther": true}'
rclone rc mount/mount fs=mydrive: mountPoint=* mountType=cmount
```
The vfsOpt are as described in options/get and can be seen in the
@@ -1379,8 +1389,6 @@ The vfsOpt are as described in options/get and can be seen in the
rclone rc options/get
```
**Authentication is required for this call.**
### mount/types: Show all possible mount types {#mount-types}
This shows all possible mount types and returns them as a list.
@@ -1396,8 +1404,6 @@ Eg
rclone rc mount/types
**Authentication is required for this call.**
### mount/unmount: Unmount selected active mount {#mount-unmount}
rclone allows Linux, FreeBSD, macOS and Windows to
@@ -1412,8 +1418,6 @@ Example:
rclone rc mount/unmount mountPoint=/home/<user>/mountPoint
**Authentication is required for this call.**
### mount/unmountall: Unmount all active mounts {#mount-unmountall}
rclone allows Linux, FreeBSD, macOS and Windows to
@@ -1426,8 +1430,6 @@ Eg
rclone rc mount/unmountall
**Authentication is required for this call.**
### operations/about: Return the space used on the remote {#operations-about}
This takes the following parameters:
@@ -1438,8 +1440,6 @@ The result is as returned from rclone about --json
See the [about](/commands/rclone_about/) command for more information on the above.
**Authentication is required for this call.**
### operations/check: check the source and destination are the same {#operations-check}
Checks the files in the source and destination match. It compares
@@ -1488,8 +1488,6 @@ Returns:
- differ - array of strings of all non-matching files
- error - array of strings of all files with errors (hashing or reading)
**Authentication is required for this call.**
### operations/cleanup: Remove trashed files in the remote or path {#operations-cleanup}
This takes the following parameters:
@@ -1498,8 +1496,6 @@ This takes the following parameters:
See the [cleanup](/commands/rclone_cleanup/) command for more information on the above.
**Authentication is required for this call.**
### operations/copyfile: Copy a file from source remote to destination remote {#operations-copyfile}
This takes the following parameters:
@@ -1509,8 +1505,6 @@ This takes the following parameters:
- dstFs - a remote name string e.g. "drive2:" for the destination, "/" for local filesystem
- dstRemote - a path within that remote e.g. "file2.txt" for the destination
**Authentication is required for this call.**
### operations/copyurl: Copy the URL to the object {#operations-copyurl}
This takes the following parameters:
@@ -1522,8 +1516,6 @@ This takes the following parameters:
See the [copyurl](/commands/rclone_copyurl/) command for more information on the above.
**Authentication is required for this call.**
### operations/delete: Remove files in the path {#operations-delete}
This takes the following parameters:
@@ -1532,8 +1524,6 @@ This takes the following parameters:
See the [delete](/commands/rclone_delete/) command for more information on the above.
**Authentication is required for this call.**
### operations/deletefile: Remove the single file pointed to {#operations-deletefile}
This takes the following parameters:
@@ -1543,8 +1533,6 @@ This takes the following parameters:
See the [deletefile](/commands/rclone_deletefile/) command for more information on the above.
**Authentication is required for this call.**
### operations/fsinfo: Return information about the remote {#operations-fsinfo}
This takes the following parameters:
@@ -1701,8 +1689,6 @@ Example:
See the [hashsum](/commands/rclone_hashsum/) command for more information on the above.
**Authentication is required for this call.**
### operations/hashsumfile: Produces a hash for a single file. {#operations-hashsumfile}
Produces a hash for a single file using the hash named.
@@ -1735,8 +1721,6 @@ Example:
See the [hashsum](/commands/rclone_hashsum/) command for more information on the above.
**Authentication is required for this call.**
### operations/list: List the given remote and path in JSON format {#operations-list}
This takes the following parameters:
@@ -1762,8 +1746,6 @@ Returns:
See the [lsjson](/commands/rclone_lsjson/) command for more information on the above and examples.
**Authentication is required for this call.**
### operations/mkdir: Make a destination directory or container {#operations-mkdir}
This takes the following parameters:
@@ -1773,8 +1755,6 @@ This takes the following parameters:
See the [mkdir](/commands/rclone_mkdir/) command for more information on the above.
**Authentication is required for this call.**
### operations/movefile: Move a file from source remote to destination remote {#operations-movefile}
This takes the following parameters:
@@ -1784,8 +1764,6 @@ This takes the following parameters:
- dstFs - a remote name string e.g. "drive2:" for the destination, "/" for local filesystem
- dstRemote - a path within that remote e.g. "file2.txt" for the destination
**Authentication is required for this call.**
### operations/publiclink: Create or retrieve a public link to the given file or folder. {#operations-publiclink}
This takes the following parameters:
@@ -1801,8 +1779,6 @@ Returns:
See the [link](/commands/rclone_link/) command for more information on the above.
**Authentication is required for this call.**
### operations/purge: Remove a directory or container and all of its contents {#operations-purge}
This takes the following parameters:
@@ -1812,8 +1788,6 @@ This takes the following parameters:
See the [purge](/commands/rclone_purge/) command for more information on the above.
**Authentication is required for this call.**
### operations/rmdir: Remove an empty directory or container {#operations-rmdir}
This takes the following parameters:
@@ -1823,8 +1797,6 @@ This takes the following parameters:
See the [rmdir](/commands/rclone_rmdir/) command for more information on the above.
**Authentication is required for this call.**
### operations/rmdirs: Remove all the empty directories in the path {#operations-rmdirs}
This takes the following parameters:
@@ -1835,8 +1807,6 @@ This takes the following parameters:
See the [rmdirs](/commands/rclone_rmdirs/) command for more information on the above.
**Authentication is required for this call.**
### operations/settier: Changes storage tier or class on all files in the path {#operations-settier}
This takes the following parameters:
@@ -1845,8 +1815,6 @@ This takes the following parameters:
See the [settier](/commands/rclone_settier/) command for more information on the above.
**Authentication is required for this call.**
### operations/settierfile: Changes storage tier or class on the single file pointed to {#operations-settierfile}
This takes the following parameters:
@@ -1854,8 +1822,6 @@ This takes the following parameters:
- fs - a remote name string e.g. "drive:"
- remote - a path within that remote e.g. "dir"
**Authentication is required for this call.**
### operations/size: Count the number of bytes and files in remote {#operations-size}
This takes the following parameters:
@@ -1869,8 +1835,6 @@ Returns:
See the [size](/commands/rclone_size/) command for more information on the above.
**Authentication is required for this call.**
### operations/stat: Give information about the supplied file or directory {#operations-stat}
This takes the following parameters
@@ -1889,8 +1853,6 @@ efficient to set the filesOnly flag in the options.
See the [lsjson](/commands/rclone_lsjson/) command for more information on the above and examples.
**Authentication is required for this call.**
### operations/uploadfile: Upload file using multiform/form-data {#operations-uploadfile}
This takes the following parameters:
@@ -1899,8 +1861,6 @@ This takes the following parameters:
- remote - a path within that remote e.g. "dir"
- each part in body represents a file to be uploaded
**Authentication is required for this call.**
### options/blocks: List all the option blocks {#options-blocks}
Returns:
@@ -1992,8 +1952,6 @@ Example:
rclone rc pluginsctl/addPlugin
**Authentication is required for this call.**
### pluginsctl/getPluginsForType: Get plugins with type criteria {#pluginsctl-getPluginsForType}
This shows all possible plugins by a mime type.
@@ -2012,8 +1970,6 @@ Example:
rclone rc pluginsctl/getPluginsForType type=video/mp4
**Authentication is required for this call.**
### pluginsctl/listPlugins: Get the list of currently loaded plugins {#pluginsctl-listPlugins}
This allows you to get the currently enabled plugins and their details.
@@ -2027,8 +1983,6 @@ E.g.
rclone rc pluginsctl/listPlugins
**Authentication is required for this call.**
### pluginsctl/listTestPlugins: Show currently loaded test plugins {#pluginsctl-listTestPlugins}
Allows listing of test plugins with the rclone.test set to true in package.json of the plugin.
@@ -2041,8 +1995,6 @@ E.g.
rclone rc pluginsctl/listTestPlugins
**Authentication is required for this call.**
### pluginsctl/removePlugin: Remove a loaded plugin {#pluginsctl-removePlugin}
This allows you to remove a plugin using it's name.
@@ -2055,8 +2007,6 @@ E.g.
rclone rc pluginsctl/removePlugin name=rclone/video-plugin
**Authentication is required for this call.**
### pluginsctl/removeTestPlugin: Remove a test plugin {#pluginsctl-removeTestPlugin}
This allows you to remove a plugin using it's name.
@@ -2069,13 +2019,13 @@ Example:
rclone rc pluginsctl/removeTestPlugin name=rclone/rclone-webui-react
**Authentication is required for this call.**
### rc/error: This returns an error {#rc-error}
This returns an error with the input as part of its error string.
Useful for testing error handling.
**Authentication is not required for this call.**
### rc/fatal: This returns an fatal error {#rc-fatal}
This returns an error with the input as part of its error string.
@@ -2086,20 +2036,22 @@ Useful for testing error handling.
This lists all the registered remote control commands as a JSON map in
the commands response.
**Authentication is not required for this call.**
### rc/noop: Echo the input to the output parameters {#rc-noop}
This echoes the input parameters to the output parameters for testing
purposes. It can be used to check that rclone is still alive and to
check that parameter passing is working properly.
**Authentication is not required for this call.**
### rc/noopauth: Echo the input to the output parameters requiring auth {#rc-noopauth}
This echoes the input parameters to the output parameters for testing
purposes. It can be used to check that rclone is still alive and to
check that parameter passing is working properly.
**Authentication is required for this call.**
### rc/panic: This returns an error by panicking {#rc-panic}
This returns an error with the input as part of its error string.
@@ -2146,8 +2098,6 @@ Returns
}
```
**Authentication is required for this call.**
### serve/start: Create a new server {#serve-start}
Create a new server with the specified parameters.
@@ -2183,8 +2133,6 @@ Or an error if it failed to start.
Stop the server with `serve/stop` and list the running servers with `serve/list`.
**Authentication is required for this call.**
### serve/stop: Unserve selected active serve {#serve-stop}
Stops a running `serve` instance by ID.
@@ -2199,8 +2147,6 @@ Example:
rclone rc serve/stop id=12345
**Authentication is required for this call.**
### serve/stopall: Stop all active servers {#serve-stopall}
Stop all active servers.
@@ -2209,8 +2155,6 @@ This will stop all active servers.
rclone rc serve/stopall
**Authentication is required for this call.**
### serve/types: Show all possible serve types {#serve-types}
This shows all possible serve types and returns them as a list.
@@ -2238,40 +2182,70 @@ Returns
}
```
**Authentication is required for this call.**
### sync/bisync: Perform bidirectional synchronization between two paths. {#sync-bisync}
This takes the following parameters
<!--- Docs generated by help.go - use go generate to rebuild - DO NOT EDIT --->
- path1 - a remote directory string e.g. `drive:path1`
- path2 - a remote directory string e.g. `drive:path2`
- dryRun - dry-run mode
- resync - performs the resync run
- checkAccess - abort if RCLONE_TEST files are not found on both filesystems
- checkFilename - file name for checkAccess (default: RCLONE_TEST)
- maxDelete - abort sync if percentage of deleted files is above
this threshold (default: 50)
- force - Bypass maxDelete safety check and run the sync
- checkSync - `true` by default, `false` disables comparison of final listings,
`only` will skip sync, only compare listings from the last run
- createEmptySrcDirs - Sync creation and deletion of empty directories.
(Not compatible with --remove-empty-dirs)
- removeEmptyDirs - remove empty directories at the final cleanup step
- filtersFile - read filtering patterns from a file
- ignoreListingChecksum - Do not use checksums for listings
- resilient - Allow future runs to retry after certain less-serious errors, instead of requiring resync.
- workdir - server directory for history files (default: `~/.cache/rclone/bisync`)
- backupdir1 - --backup-dir for Path1. Must be a non-overlapping path on the same remote.
- backupdir2 - --backup-dir for Path2. Must be a non-overlapping path on the same remote.
- noCleanup - retain working files
This takes the following parameters:
- path1 (required) - (string) a remote directory string e.g. `drive:path1`
- path2 (required) - (string) a remote directory string e.g. `drive:path2`
- dryRun - (bool) dry-run mode
- backupDir1 - (string) --backup-dir for Path1. Must be a non-overlapping path on
the same remote.
- backupDir2 - (string) --backup-dir for Path2. Must be a non-overlapping path on
the same remote.
- checkAccess - (bool) Ensure expected RCLONE_TEST files are found on both
Path1 and Path2 filesystems, else abort.
- checkFilename - (string) Filename for --check-access (default: RCLONE_TEST)
- checkSync - (string) Controls comparison of final listings: true|false|only
(default: true)
- compare - (string) Comma-separated list of bisync-specific compare options ex.
'size,modtime,checksum' (default: 'size,modtime')
- conflictLoser - (ConflictLoserAction) Action to take on the loser of a sync
conflict (when there is a winner) or on both files (when there is no
winner): , num, pathname, delete (default: num)
- conflictResolve - (string) Automatically resolve conflicts by preferring the
version that is: none, path1, path2, newer, older, larger, smaller (default:
none)
- conflictSuffix - (string) Suffix to use when renaming a --conflict-loser. Can
be either one string or two comma-separated strings to assign different
suffixes to Path1/Path2. (default: 'conflict')
- createEmptySrcDirs - (bool) Sync creation and deletion of empty directories.
(Not compatible with --remove-empty-dirs)
- downloadHash - (bool) Compute hash by downloading when otherwise
unavailable. (warning: may be slow and use lots of data!)
- filtersFile - (string) Read filtering patterns from a file
- force - (bool) Bypass --max-delete safety check and run the sync. Consider
using with --verbose
- ignoreListingChecksum - (bool) Do not use checksums for listings (add --ignore-
checksum to additionally skip post-copy checksum checks)
- maxLock - (Duration) Consider lock files older than this to be expired
(default: 0 (never expire)) (minimum: 2m)
- noCleanup - (bool) Retain working files (useful for troubleshooting and
testing).
- noSlowHash - (bool) Ignore listing checksums only on backends where they are
slow
- recover - (bool) Automatically recover from interruptions without requiring --
resync.
- removeEmptyDirs - (bool) Remove ALL empty directories at the final cleanup
step.
- resilient - (bool) Allow future runs to retry after certain less-serious
errors, instead of requiring --resync.
- resync - (bool) Performs the resync run. Equivalent to --resync-mode path1.
Consider using --verbose or --dry-run first.
- resyncMode - (string) During resync, prefer the version that is: path1,
path2, newer, older, larger, smaller (default: path1 if --resync, otherwise
none for no resync.)
- slowHashSyncOnly - (bool) Ignore slow checksums for listings and deltas, but
still consider them during sync calls.
- workdir - (string) Use custom working dir - useful for testing. (default:
/home/ncw/.cache/rclone/bisync)
See [bisync command help](https://rclone.org/commands/rclone_bisync/)
and [full bisync description](https://rclone.org/bisync/)
for more information.
**Authentication is required for this call.**
### sync/copy: copy a directory from source remote to destination remote {#sync-copy}
This takes the following parameters:
@@ -2283,8 +2257,6 @@ This takes the following parameters:
See the [copy](/commands/rclone_copy/) command for more information on the above.
**Authentication is required for this call.**
### sync/move: move a directory from source remote to destination remote {#sync-move}
This takes the following parameters:
@@ -2297,8 +2269,6 @@ This takes the following parameters:
See the [move](/commands/rclone_move/) command for more information on the above.
**Authentication is required for this call.**
### sync/sync: sync a directory from source remote to destination remote {#sync-sync}
This takes the following parameters:
@@ -2310,8 +2280,6 @@ This takes the following parameters:
See the [sync](/commands/rclone_sync/) command for more information on the above.
**Authentication is required for this call.**
### vfs/forget: Forget files or directories in the directory cache. {#vfs-forget}
This forgets the paths in the directory cache causing them to be
@@ -2341,6 +2309,8 @@ It returns a list under the key "vfses" where the values are the VFS
names that could be passed to the other VFS commands in the "fs"
parameter.
**Authentication is not required for this call.**
### vfs/poll-interval: Get the status or update the value of the poll-interval option. {#vfs-poll-interval}
Without any parameter given this returns the current status of the
@@ -2403,6 +2373,8 @@ supplied and if there is only one VFS in use then that VFS will be
used. If there is more than one VFS in use then the "fs" parameter
must be supplied.
**Authentication is not required for this call.**
### vfs/queue-set-expiry: Set the expiry time for an item queued for upload. {#vfs-queue-set-expiry}
Use this to adjust the `expiry` time for an item in the upload queue.
@@ -2496,6 +2468,8 @@ supplied and if there is only one VFS in use then that VFS will be
used. If there is more than one VFS in use then the "fs" parameter
must be supplied.
**Authentication is not required for this call.**
<!-- autogenerated stop -->
## Accessing the remote control via HTTP {#api-http}
+600 -26
View File
@@ -31,6 +31,7 @@ The S3 backend can be used with a number of different providers:
{{< provider name="Huawei OBS" home="https://www.huaweicloud.com/intl/en-us/product/obs.html" config="/s3/#huawei-obs" >}}
{{< provider name="IBM COS S3" home="http://www.ibm.com/cloud/object-storage" config="/s3/#ibm-cos-s3" >}}
{{< provider name="IDrive e2" home="https://www.idrive.com/e2/?refer=rclone" config="/s3/#idrive-e2" >}}
{{< provider name="Impossible Cloud" home="https://www.impossiblecloud.com/" config="/s3/#impossible-cloud" >}}
{{< provider name="Intercolo Object Storage" home="https://intercolo.de/object-storage" config="/s3/#intercolo" >}}
{{< provider name="IONOS Cloud" home="https://cloud.ionos.com/storage/object-storage" config="/s3/#ionos" >}}
{{< provider name="Leviia Object Storage" home="https://www.leviia.com/object-storage/" config="/s3/#leviia" >}}
@@ -964,7 +965,7 @@ mode from COMPLIANCE to GOVERNANCE while preserving the original retention date:
<!-- autogenerated options start - DO NOT EDIT - instead edit fs.RegInfo in backend/s3/s3.go and run make backenddocs to verify --> <!-- markdownlint-disable-line line-length -->
### Standard options
Here are the Standard options specific to s3 (Amazon S3 Compliant Storage Providers including AWS, Alibaba, ArvanCloud, BizflyCloud, Ceph, ChinaMobile, Cloudflare, Cubbit, DigitalOcean, Dreamhost, Exaba, FileLu, FlashBlade, GCS, Hetzner, HuaweiOBS, IBMCOS, IDrive, Intercolo, IONOS, Leviia, Liara, Linode, LyveCloud, Magalu, Mega, Minio, Netease, Outscale, OVHcloud, Petabox, Qiniu, Rabata, RackCorp, Rclone, Scaleway, SeaweedFS, Selectel, Servercore, SpectraLogic, Storj, Synology, TencentCOS, Wasabi, Zata, Other).
Here are the Standard options specific to s3 (Amazon S3 Compliant Storage Providers including AWS, Alibaba, ArvanCloud, BizflyCloud, Ceph, ChinaMobile, Cloudflare, Cubbit, DigitalOcean, Dreamhost, Exaba, Fastly, FileLu, FlashBlade, GCS, HCP, Hetzner, HuaweiOBS, IBMCOS, IDrive, ImpossibleCloud, Intercolo, IONOS, Leviia, Liara, Linode, LyveCloud, Magalu, Mega, Minio, Netease, Outscale, OVHcloud, Petabox, Qiniu, Rabata, RackCorp, Rclone, Scaleway, SeaweedFS, Selectel, Servercore, SpectraLogic, Storj, Synology, TencentCOS, US3, Wasabi, Zadara, Zata, Other).
#### --s3-provider
@@ -999,12 +1000,16 @@ Properties:
- Dreamhost DreamObjects
- "Exaba"
- Exaba Object Storage
- "Fastly"
- Fastly Object Storage
- "FileLu"
- FileLu S5 (S3-Compatible Object Storage)
- "FlashBlade"
- Pure Storage FlashBlade Object Storage
- "GCS"
- Google Cloud Storage
- "HCP"
- Hitachi Content Platform (HCP)
- "Hetzner"
- Hetzner Object Storage
- "HuaweiOBS"
@@ -1013,6 +1018,8 @@ Properties:
- IBM COS S3
- "IDrive"
- IDrive e2
- "ImpossibleCloud"
- Impossible Cloud Object Storage
- "Intercolo"
- Intercolo Object Storage
- "IONOS"
@@ -1063,8 +1070,12 @@ Properties:
- Synology C2 Object Storage
- "TencentCOS"
- Tencent Cloud Object Storage (COS)
- "US3"
- US3 Object Storage
- "Wasabi"
- Wasabi Object Storage
- "Zadara"
- Zadara Object Storage
- "Zata"
- Zata (S3 compatible Gateway)
- "Other"
@@ -1124,7 +1135,7 @@ Properties:
- Config: region
- Env Var: RCLONE_S3_REGION
- Provider: AWS,BizflyCloud,Ceph,Cloudflare,Cubbit,DigitalOcean,Dreamhost,Exaba,FileLu,GCS,Hetzner,HuaweiOBS,IBMCOS,Intercolo,IONOS,Leviia,LyveCloud,Minio,Netease,Outscale,OVHcloud,Petabox,Qiniu,Rabata,RackCorp,Scaleway,SeaweedFS,Selectel,Servercore,Synology,Wasabi,Zata,Other
- Provider: AWS,BizflyCloud,Ceph,Cloudflare,Cubbit,DigitalOcean,Dreamhost,Exaba,Fastly,FileLu,GCS,HCP,Hetzner,HuaweiOBS,IBMCOS,ImpossibleCloud,Intercolo,IONOS,Leviia,LyveCloud,Minio,Netease,Outscale,OVHcloud,Petabox,Qiniu,Rabata,RackCorp,Scaleway,SeaweedFS,Selectel,Servercore,Synology,Wasabi,Zadara,Zata,Other
- Type: string
- Required: false
- Examples:
@@ -1242,17 +1253,41 @@ Properties:
- ""
- Use this if unsure.
- Will use v4 signatures and an empty region.
- Provider: Ceph,DigitalOcean,Dreamhost,Exaba,GCS,IBMCOS,Leviia,LyveCloud,Minio,Netease,SeaweedFS,Wasabi,Other
- Provider: Ceph,DigitalOcean,Dreamhost,Exaba,GCS,HCP,IBMCOS,Leviia,LyveCloud,Minio,Netease,SeaweedFS,Wasabi,Other
- "other-v2-signature"
- Use this only if v4 signatures don't work.
- E.g. pre Jewel/v10 CEPH.
- Provider: Ceph,DigitalOcean,Dreamhost,Exaba,GCS,IBMCOS,Leviia,LyveCloud,Minio,Netease,SeaweedFS,Wasabi,Other
- Provider: Ceph,DigitalOcean,Dreamhost,Exaba,GCS,HCP,IBMCOS,Leviia,LyveCloud,Minio,Netease,SeaweedFS,Wasabi,Other
- "auto"
- R2 buckets are automatically distributed across Cloudflare's data centers for low latency.
- Provider: Cloudflare
- "eu-west-1"
- Europe West
- Provider: Cubbit
- "au-east-1"
- AU East 1
- Provider: Fastly
- "eu-central"
- EU Central
- Provider: Fastly
- "eu-south-1"
- EU South 1
- Provider: Fastly
- "jp-central-1"
- JP Central 1
- Provider: Fastly
- "uk-east-1"
- UK East 1
- Provider: Fastly
- "us-central-1"
- US Central 1
- Provider: Fastly
- "us-east"
- US East
- Provider: Fastly
- "us-west"
- US West
- Provider: Fastly
- "global"
- Global
- Provider: FileLu
@@ -1322,6 +1357,27 @@ Properties:
- "ru-northwest-2"
- RU-Moscow2
- Provider: HuaweiOBS
- "eu-central-2"
- Frankfurt, Germany
- Provider: ImpossibleCloud
- "eu-west-1"
- Amsterdam, Netherlands
- Provider: ImpossibleCloud
- "eu-west-2"
- London, UK
- Provider: ImpossibleCloud
- "eu-west-3"
- Paris, France
- Provider: ImpossibleCloud
- "eu-east-1"
- Poznań, Poland
- Provider: ImpossibleCloud
- "eu-north-1"
- Copenhagen, Denmark
- Provider: ImpossibleCloud
- "us-east-1"
- New York, USA
- Provider: ImpossibleCloud
- "de-fra"
- Frankfurt, Germany
- Provider: Intercolo
@@ -1331,9 +1387,18 @@ Properties:
- "eu-central-2"
- Berlin, Germany
- Provider: IONOS
- "eu-central-3"
- Berlin, Germany
- Provider: IONOS
- "eu-central-4"
- Frankfurt, Germany
- Provider: IONOS
- "eu-south-2"
- Logrono, Spain
- Provider: IONOS
- "us-central-1"
- Lenexa, USA
- Provider: IONOS
- "eu-west-2"
- Paris, France
- Provider: Outscale
@@ -1546,6 +1611,10 @@ Properties:
- "tw-001"
- Asia (Taiwan)
- Provider: Synology
- "us-east-1"
- The default region.
- Leave location constraint empty.
- Provider: Zadara
- "us-east-1"
- Indore, Madhya Pradesh, India
- Provider: Zata
@@ -1560,7 +1629,7 @@ Properties:
- Config: endpoint
- Env Var: RCLONE_S3_ENDPOINT
- Provider: AWS,Alibaba,ArvanCloud,BizflyCloud,Ceph,ChinaMobile,Cloudflare,Cubbit,DigitalOcean,Dreamhost,Exaba,FileLu,FlashBlade,GCS,Hetzner,HuaweiOBS,IBMCOS,Intercolo,IONOS,Leviia,Liara,Linode,LyveCloud,Magalu,Mega,Minio,Netease,Outscale,OVHcloud,Petabox,Qiniu,Rabata,RackCorp,Rclone,Scaleway,SeaweedFS,Selectel,Servercore,SpectraLogic,Storj,Synology,TencentCOS,Wasabi,Zata,Other
- Provider: AWS,Alibaba,ArvanCloud,BizflyCloud,Ceph,ChinaMobile,Cloudflare,Cubbit,DigitalOcean,Dreamhost,Exaba,Fastly,FileLu,FlashBlade,GCS,HCP,Hetzner,HuaweiOBS,IBMCOS,ImpossibleCloud,Intercolo,IONOS,Leviia,Liara,Linode,LyveCloud,Magalu,Mega,Minio,Netease,Outscale,OVHcloud,Petabox,Qiniu,Rabata,RackCorp,Rclone,Scaleway,SeaweedFS,Selectel,Servercore,SpectraLogic,Storj,Synology,TencentCOS,US3,Wasabi,Zadara,Zata,Other
- Type: string
- Required: false
- Examples:
@@ -1746,6 +1815,9 @@ Properties:
- "s3.cubbit.eu"
- Cubbit DS3 Object Storage endpoint
- Provider: Cubbit
- "s3.{tenant_name}.cubbit.eu"
- Multi-tenant endpoint - replace {tenant_name} with your actual tenant name. Do not select this directly
- Provider: Cubbit
- "syd1.digitaloceanspaces.com"
- DigitalOcean Spaces Sydney 1
- Provider: DigitalOcean
@@ -1779,6 +1851,30 @@ Properties:
- "objects-us-east-1.dream.io"
- Dream Objects endpoint
- Provider: Dreamhost
- "au-east-1.object.fastlystorage.app"
- AU East 1
- Provider: Fastly
- "eu-central.object.fastlystorage.app"
- EU Central
- Provider: Fastly
- "eu-south-1.object.fastlystorage.app"
- EU South 1
- Provider: Fastly
- "jp-central-1.object.fastlystorage.app"
- JP Central 1
- Provider: Fastly
- "uk-east-1.object.fastlystorage.app"
- UK East 1
- Provider: Fastly
- "us-central-1.object.fastlystorage.app"
- US Central 1
- Provider: Fastly
- "us-east.object.fastlystorage.app"
- US East
- Provider: Fastly
- "us-west.object.fastlystorage.app"
- US West
- Provider: Fastly
- "s5lu.com"
- Global FileLu S5 endpoint
- Provider: FileLu
@@ -2037,18 +2133,48 @@ Properties:
- "s3.private.sng01.cloud-object-storage.appdomain.cloud"
- Singapore Single Site Private Endpoint
- Provider: IBMCOS
- "eu-central-2.storage.impossibleapi.net"
- Frankfurt, Germany
- Provider: ImpossibleCloud
- "eu-west-1.storage.impossibleapi.net"
- Amsterdam, Netherlands
- Provider: ImpossibleCloud
- "eu-west-2.storage.impossibleapi.net"
- London, UK
- Provider: ImpossibleCloud
- "eu-west-3.storage.impossibleapi.net"
- Paris, France
- Provider: ImpossibleCloud
- "eu-east-1.storage.impossibleapi.net"
- Poznań, Poland
- Provider: ImpossibleCloud
- "eu-north-1.storage.impossibleapi.net"
- Copenhagen, Denmark
- Provider: ImpossibleCloud
- "us-east-1.storage.impossibleapi.net"
- New York, USA
- Provider: ImpossibleCloud
- "de-fra.i3storage.com"
- Frankfurt, Germany
- Provider: Intercolo
- "s3-eu-central-1.ionoscloud.com"
- "s3.eu-central-1.ionoscloud.com"
- Frankfurt, Germany
- Provider: IONOS
- "s3-eu-central-2.ionoscloud.com"
- "s3.eu-central-2.ionoscloud.com"
- Berlin, Germany
- Provider: IONOS
- "s3-eu-south-2.ionoscloud.com"
- "s3.eu-central-3.ionoscloud.com"
- Berlin, Germany
- Provider: IONOS
- "s3.eu-central-4.ionoscloud.com"
- Frankfurt, Germany
- Provider: IONOS
- "s3.eu-south-2.ionoscloud.com"
- Logrono, Spain
- Provider: IONOS
- "s3.us-central-1.ionoscloud.com"
- Lenexa, USA
- Provider: IONOS
- "s3.leviia.com"
- The default endpoint
- Leviia
@@ -2420,6 +2546,75 @@ Properties:
- "cos.accelerate.myqcloud.com"
- Use Tencent COS Accelerate Endpoint
- Provider: TencentCOS
- "s3-cn-bj.ufileos.com"
- North China (Beijing 2)
- Provider: US3
- "s3-cn-wlcb.ufileos.com"
- North China (Ulanqab)
- Provider: US3
- "s3-cn-sh2.ufileos.com"
- Shanghai
- Provider: US3
- "s3-cn-gd.ufileos.com"
- South China (Guangzhou)
- Provider: US3
- "s3-hk.ufileos.com"
- Hongkong
- Provider: US3
- "s3-us-ca.ufileos.com"
- United States (Los Angeles)
- Provider: US3
- "s3-sg.ufileos.com"
- Singapore
- Provider: US3
- "s3-idn-jakarta.ufileos.com"
- Indonesia (Jakarta)
- Provider: US3
- "s3-tw-tp.ufileos.com"
- Taiwan (Taipei)
- Provider: US3
- "s3-afr-nigeria.ufileos.com"
- Nigeria (Lagos)
- Provider: US3
- "s3-bra-saopaulo.ufileos.com"
- Brazil (São Paulo)
- Provider: US3
- "s3-uae-dubai.ufileos.com"
- United Arab Emirates (Dubai)
- Provider: US3
- "s3-ge-fra.ufileos.com"
- Germany (Frankfurt)
- Provider: US3
- "s3-vn-sng.ufileos.com"
- Vietnam (Ho Chi Minh City)
- Provider: US3
- "s3-us-ws.ufileos.com"
- United States (Washington)
- Provider: US3
- "s3-ind-mumbai.ufileos.com"
- India (Mumbai)
- Provider: US3
- "s3-kr-seoul.ufileos.com"
- Seoul (South Korea)
- Provider: US3
- "s3-jpn-tky.ufileos.com"
- Japan (Tokyo)
- Provider: US3
- "s3-th-bkk.ufileos.com"
- Bangkok (Thailand)
- Provider: US3
- "s3-uk-london.ufileos.com"
- United Kingdom (London)
- Provider: US3
- "s3-rus-mosc.ufileos.com"
- Russia (Moscow)
- Provider: US3
- "s3-cn-guiyang1.ufileos.com"
- Guiyang 1
- Provider: US3
- "s3-pk-khi.ufileos.com"
- Pakistan
- Provider: US3
- "s3.wasabisys.com"
- Wasabi US East 1 (N. Virginia)
- Provider: Wasabi
@@ -2476,7 +2671,7 @@ Properties:
- Config: location_constraint
- Env Var: RCLONE_S3_LOCATION_CONSTRAINT
- Provider: AWS,ArvanCloud,Ceph,ChinaMobile,DigitalOcean,Dreamhost,Exaba,GCS,Hetzner,IBMCOS,LyveCloud,Minio,Netease,Qiniu,Rabata,RackCorp,SeaweedFS,Synology,Wasabi,Zata,Other
- Provider: AWS,ArvanCloud,Ceph,ChinaMobile,DigitalOcean,Dreamhost,Exaba,GCS,HCP,Hetzner,IBMCOS,ImpossibleCloud,LyveCloud,Minio,Netease,Qiniu,Rabata,RackCorp,SeaweedFS,Synology,Wasabi,Zata,Other
- Type: string
- Required: false
- Examples:
@@ -2857,36 +3052,36 @@ Properties:
- Config: acl
- Env Var: RCLONE_S3_ACL
- Provider: AWS,Alibaba,ArvanCloud,BizflyCloud,Ceph,ChinaMobile,Cubbit,DigitalOcean,Dreamhost,Exaba,FileLu,GCS,Hetzner,HuaweiOBS,IBMCOS,IDrive,Intercolo,IONOS,Leviia,Liara,Linode,LyveCloud,Magalu,Minio,Netease,Outscale,OVHcloud,Petabox,Qiniu,RackCorp,Scaleway,SeaweedFS,TencentCOS,Wasabi,Zata,Other
- Provider: AWS,Alibaba,ArvanCloud,BizflyCloud,Ceph,ChinaMobile,Cubbit,DigitalOcean,Dreamhost,Exaba,FileLu,GCS,HCP,Hetzner,HuaweiOBS,IBMCOS,IDrive,ImpossibleCloud,Intercolo,IONOS,Leviia,Liara,Linode,LyveCloud,Magalu,Minio,Netease,Outscale,OVHcloud,Petabox,Qiniu,RackCorp,Scaleway,SeaweedFS,TencentCOS,US3,Wasabi,Zata,Other
- Type: string
- Required: false
- Examples:
- "private"
- Owner gets FULL_CONTROL.
- No one else has access rights (default).
- Provider: AWS,Alibaba,ArvanCloud,BizflyCloud,Ceph,ChinaMobile,Cubbit,DigitalOcean,Dreamhost,Exaba,FileLu,GCS,Hetzner,HuaweiOBS,IDrive,Intercolo,IONOS,Leviia,Liara,Linode,LyveCloud,Magalu,Minio,Netease,Outscale,OVHcloud,Petabox,Qiniu,RackCorp,Scaleway,SeaweedFS,Wasabi,Zata,Other
- Provider: AWS,Alibaba,ArvanCloud,BizflyCloud,Ceph,ChinaMobile,Cubbit,DigitalOcean,Dreamhost,Exaba,FileLu,GCS,HCP,Hetzner,HuaweiOBS,IDrive,ImpossibleCloud,Intercolo,IONOS,Leviia,Liara,Linode,LyveCloud,Magalu,Minio,Netease,Outscale,OVHcloud,Petabox,Qiniu,RackCorp,Scaleway,SeaweedFS,US3,Wasabi,Zata,Other
- "public-read"
- Owner gets FULL_CONTROL.
- The AllUsers group gets READ access.
- Provider: AWS,Alibaba,ArvanCloud,BizflyCloud,Ceph,ChinaMobile,Cubbit,DigitalOcean,Dreamhost,Exaba,FileLu,GCS,Hetzner,HuaweiOBS,IDrive,Intercolo,IONOS,Leviia,Liara,Linode,LyveCloud,Magalu,Minio,Netease,Outscale,OVHcloud,Petabox,Qiniu,RackCorp,Scaleway,SeaweedFS,TencentCOS,Wasabi,Zata,Other
- Provider: AWS,Alibaba,ArvanCloud,BizflyCloud,Ceph,ChinaMobile,Cubbit,DigitalOcean,Dreamhost,Exaba,FileLu,GCS,HCP,Hetzner,HuaweiOBS,IDrive,ImpossibleCloud,Intercolo,IONOS,Leviia,Liara,Linode,LyveCloud,Magalu,Minio,Netease,Outscale,OVHcloud,Petabox,Qiniu,RackCorp,Scaleway,SeaweedFS,TencentCOS,US3,Wasabi,Zata,Other
- "public-read-write"
- Owner gets FULL_CONTROL.
- The AllUsers group gets READ and WRITE access.
- Granting this on a bucket is generally not recommended.
- Provider: AWS,Alibaba,ArvanCloud,BizflyCloud,Ceph,ChinaMobile,Cubbit,DigitalOcean,Dreamhost,Exaba,FileLu,GCS,Hetzner,HuaweiOBS,IDrive,Intercolo,IONOS,Leviia,Liara,Linode,LyveCloud,Magalu,Minio,Netease,Outscale,OVHcloud,Petabox,Qiniu,RackCorp,Scaleway,SeaweedFS,TencentCOS,Wasabi,Zata,Other
- Provider: AWS,Alibaba,ArvanCloud,BizflyCloud,Ceph,ChinaMobile,Cubbit,DigitalOcean,Dreamhost,Exaba,FileLu,GCS,HCP,Hetzner,HuaweiOBS,IDrive,ImpossibleCloud,Intercolo,IONOS,Leviia,Liara,Linode,LyveCloud,Magalu,Minio,Netease,Outscale,OVHcloud,Petabox,Qiniu,RackCorp,Scaleway,SeaweedFS,TencentCOS,Wasabi,Zata,Other
- "authenticated-read"
- Owner gets FULL_CONTROL.
- The AuthenticatedUsers group gets READ access.
- Provider: AWS,Alibaba,ArvanCloud,BizflyCloud,Ceph,ChinaMobile,Cubbit,DigitalOcean,Dreamhost,Exaba,FileLu,GCS,Hetzner,HuaweiOBS,IDrive,Intercolo,IONOS,Leviia,Liara,Linode,LyveCloud,Magalu,Minio,Netease,Outscale,OVHcloud,Petabox,Qiniu,RackCorp,Scaleway,SeaweedFS,TencentCOS,Wasabi,Zata,Other
- Provider: AWS,Alibaba,ArvanCloud,BizflyCloud,Ceph,ChinaMobile,Cubbit,DigitalOcean,Dreamhost,Exaba,FileLu,GCS,HCP,Hetzner,HuaweiOBS,IDrive,ImpossibleCloud,Intercolo,IONOS,Leviia,Liara,Linode,LyveCloud,Magalu,Minio,Netease,Outscale,OVHcloud,Petabox,Qiniu,RackCorp,Scaleway,SeaweedFS,TencentCOS,Wasabi,Zata,Other
- "bucket-owner-read"
- Object owner gets FULL_CONTROL.
- Bucket owner gets READ access.
- If you specify this canned ACL when creating a bucket, Amazon S3 ignores it.
- Provider: AWS,Alibaba,ArvanCloud,BizflyCloud,Ceph,Cubbit,DigitalOcean,Dreamhost,Exaba,FileLu,GCS,Hetzner,HuaweiOBS,IDrive,Intercolo,IONOS,Leviia,Liara,Linode,LyveCloud,Magalu,Minio,Netease,Outscale,OVHcloud,Petabox,Qiniu,RackCorp,Scaleway,SeaweedFS,TencentCOS,Wasabi,Zata,Other
- Provider: AWS,Alibaba,ArvanCloud,BizflyCloud,Ceph,Cubbit,DigitalOcean,Dreamhost,Exaba,FileLu,GCS,HCP,Hetzner,HuaweiOBS,IDrive,ImpossibleCloud,Intercolo,IONOS,Leviia,Liara,Linode,LyveCloud,Magalu,Minio,Netease,Outscale,OVHcloud,Petabox,Qiniu,RackCorp,Scaleway,SeaweedFS,TencentCOS,Wasabi,Zata,Other
- "bucket-owner-full-control"
- Both the object owner and the bucket owner get FULL_CONTROL over the object.
- If you specify this canned ACL when creating a bucket, Amazon S3 ignores it.
- Provider: AWS,Alibaba,ArvanCloud,BizflyCloud,Ceph,Cubbit,DigitalOcean,Dreamhost,Exaba,FileLu,GCS,Hetzner,HuaweiOBS,IDrive,Intercolo,IONOS,Leviia,Liara,Linode,LyveCloud,Magalu,Minio,Netease,Outscale,OVHcloud,Petabox,Qiniu,RackCorp,Scaleway,SeaweedFS,TencentCOS,Wasabi,Zata,Other
- Provider: AWS,Alibaba,ArvanCloud,BizflyCloud,Ceph,Cubbit,DigitalOcean,Dreamhost,Exaba,FileLu,GCS,HCP,Hetzner,HuaweiOBS,IDrive,ImpossibleCloud,Intercolo,IONOS,Leviia,Liara,Linode,LyveCloud,Magalu,Minio,Netease,Outscale,OVHcloud,Petabox,Qiniu,RackCorp,Scaleway,SeaweedFS,TencentCOS,Wasabi,Zata,Other
- "private"
- Owner gets FULL_CONTROL.
- No one else has access rights (default).
@@ -2960,22 +3155,22 @@ Properties:
- Config: storage_class
- Env Var: RCLONE_S3_STORAGE_CLASS
- Provider: AWS,Alibaba,ArvanCloud,ChinaMobile,Liara,Magalu,Qiniu,Scaleway,TencentCOS
- Provider: AWS,Alibaba,ArvanCloud,ChinaMobile,Liara,Magalu,OVHcloud,Qiniu,Scaleway,TencentCOS,US3
- Type: string
- Required: false
- Examples:
- ""
- Default
- Provider: AWS,Alibaba,ChinaMobile,TencentCOS
- Provider: AWS,Alibaba,ChinaMobile,OVHcloud,TencentCOS,US3
- "STANDARD"
- Standard storage class
- Provider: AWS,Alibaba,ArvanCloud,ChinaMobile,Liara,Magalu,Qiniu,TencentCOS
- Provider: AWS,Alibaba,ArvanCloud,ChinaMobile,Liara,Magalu,OVHcloud,Qiniu,TencentCOS,US3
- "REDUCED_REDUNDANCY"
- Reduced redundancy storage class
- Provider: AWS
- "STANDARD_IA"
- Standard Infrequent Access storage class
- Provider: AWS
- Provider: AWS,OVHcloud
- "ONEZONE_IA"
- One Zone Infrequent Access storage class
- Provider: AWS
@@ -2996,7 +3191,25 @@ Properties:
- Provider: Alibaba,ChinaMobile,Qiniu
- "STANDARD_IA"
- Infrequent access storage mode
- Provider: Alibaba,ChinaMobile,TencentCOS
- Provider: Alibaba,ChinaMobile,TencentCOS,US3
- "EXPRESS_ONEZONE"
- High Performance storage class
- Provider: OVHcloud
- "ONEZONE_IA"
- Standard Infrequent Access storage class
- Provider: OVHcloud
- "GLACIER"
- Active Archive storage class
- Provider: OVHcloud
- "GLACIER_IR"
- Active Archive storage class
- Provider: OVHcloud
- "DEEP_ARCHIVE"
- Cold Archive storage class
- Provider: OVHcloud
- "INTELLIGENT_TIERING"
- Standard storage class
- Provider: OVHcloud
- "LINE"
- Infrequent access storage mode
- Provider: Qiniu
@@ -3014,16 +3227,16 @@ Properties:
- "GLACIER"
- Archived storage.
- Prices are lower, but it needs to be restored first to be accessed.
- Available in FR-PAR and NL-AMS regions.
- Available in the FR-PAR region only.
- Provider: Scaleway
- "ONEZONE_IA"
- One Zone - Infrequent Access.
- A good choice for storing secondary backup copies or easily re-creatable data.
- Available in the FR-PAR region only.
- Available in all regions.
- Provider: Scaleway
- "ARCHIVE"
- Archive storage mode
- Provider: TencentCOS
- Provider: TencentCOS,US3
#### --s3-ibm-api-key
@@ -3049,9 +3262,20 @@ Properties:
- Type: string
- Required: false
#### --s3-bucket-object-lock-enabled
Enable Object Lock when creating new buckets.
Properties:
- Config: bucket_object_lock_enabled
- Env Var: RCLONE_S3_BUCKET_OBJECT_LOCK_ENABLED
- Type: bool
- Default: false
### Advanced options
Here are the Advanced options specific to s3 (Amazon S3 Compliant Storage Providers including AWS, Alibaba, ArvanCloud, BizflyCloud, Ceph, ChinaMobile, Cloudflare, Cubbit, DigitalOcean, Dreamhost, Exaba, FileLu, FlashBlade, GCS, Hetzner, HuaweiOBS, IBMCOS, IDrive, Intercolo, IONOS, Leviia, Liara, Linode, LyveCloud, Magalu, Mega, Minio, Netease, Outscale, OVHcloud, Petabox, Qiniu, Rabata, RackCorp, Rclone, Scaleway, SeaweedFS, Selectel, Servercore, SpectraLogic, Storj, Synology, TencentCOS, Wasabi, Zata, Other).
Here are the Advanced options specific to s3 (Amazon S3 Compliant Storage Providers including AWS, Alibaba, ArvanCloud, BizflyCloud, Ceph, ChinaMobile, Cloudflare, Cubbit, DigitalOcean, Dreamhost, Exaba, Fastly, FileLu, FlashBlade, GCS, HCP, Hetzner, HuaweiOBS, IBMCOS, IDrive, ImpossibleCloud, Intercolo, IONOS, Leviia, Liara, Linode, LyveCloud, Magalu, Mega, Minio, Netease, Outscale, OVHcloud, Petabox, Qiniu, Rabata, RackCorp, Rclone, Scaleway, SeaweedFS, Selectel, Servercore, SpectraLogic, Storj, Synology, TencentCOS, US3, Wasabi, Zadara, Zata, Other).
#### --s3-bucket-acl
@@ -3070,7 +3294,7 @@ Properties:
- Config: bucket_acl
- Env Var: RCLONE_S3_BUCKET_ACL
- Provider: AWS,Alibaba,ArvanCloud,BizflyCloud,Ceph,ChinaMobile,Cubbit,DigitalOcean,Dreamhost,Exaba,FileLu,GCS,Hetzner,HuaweiOBS,IBMCOS,IDrive,Intercolo,IONOS,Leviia,Liara,Linode,LyveCloud,Magalu,Mega,Minio,Netease,Outscale,OVHcloud,Petabox,Qiniu,RackCorp,Scaleway,SeaweedFS,Servercore,TencentCOS,Wasabi,Zata,Other
- Provider: AWS,Alibaba,ArvanCloud,BizflyCloud,Ceph,ChinaMobile,Cubbit,DigitalOcean,Dreamhost,Exaba,FileLu,GCS,HCP,Hetzner,HuaweiOBS,IBMCOS,IDrive,ImpossibleCloud,Intercolo,IONOS,Leviia,Liara,Linode,LyveCloud,Magalu,Mega,Minio,Netease,Outscale,OVHcloud,Petabox,Qiniu,RackCorp,Scaleway,SeaweedFS,Servercore,TencentCOS,US3,Wasabi,Zata,Other
- Type: string
- Required: false
- Examples:
@@ -3962,6 +4186,27 @@ Properties:
- Type: Tristate
- Default: unset
#### --s3-list-versions-oldest-first
Set if the backend returns object versions oldest first.
The S3 standard returns object versions newest first. Some backends
(e.g. Hitachi HCP) return them oldest first instead.
Set this quirk if --s3-version-at or --s3-versions produce incorrect
results with your backend.
This should be automatically set correctly for all providers rclone
knows about - please make a bug report if not.
Properties:
- Config: list_versions_oldest_first
- Env Var: RCLONE_S3_LIST_VERSIONS_OLDEST_FIRST
- Type: Tristate
- Default: unset
#### --s3-use-x-id
Set if rclone should add x-id URL parameters.
@@ -4064,6 +4309,158 @@ Properties:
- Type: Bits
- Default: Off
#### --s3-ibm-iam-endpoint
IBM IAM Endpoint to use for authentication.
Leave blank to use the default public endpoint.
Properties:
- Config: ibm_iam_endpoint
- Env Var: RCLONE_S3_IBM_IAM_ENDPOINT
- Provider: IBMCOS
- Type: string
- Required: false
#### --s3-object-lock-mode
Object Lock mode to apply when uploading or copying objects.
Set this to apply Object Lock retention mode to objects.
If not set, no Object Lock mode is applied (even with --metadata).
Note: To enable Object Lock retention, you must set BOTH object_lock_mode
AND object_lock_retain_until_date. Setting only one has no effect.
- GOVERNANCE: Set Object Lock mode to GOVERNANCE
- COMPLIANCE: Set Object Lock mode to COMPLIANCE
- copy: Copy the mode from the source object (requires --metadata)
See: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html
Properties:
- Config: object_lock_mode
- Env Var: RCLONE_S3_OBJECT_LOCK_MODE
- Type: string
- Required: false
- Examples:
- "GOVERNANCE"
- Set Object Lock mode to GOVERNANCE
- "COMPLIANCE"
- Set Object Lock mode to COMPLIANCE
- "copy"
- Copy from source object (requires --metadata)
#### --s3-object-lock-retain-until-date
Object Lock retention until date to apply when uploading or copying objects.
Set this to apply Object Lock retention date to objects.
If not set, no retention date is applied (even with --metadata).
Note: To enable Object Lock retention, you must set BOTH object_lock_mode
AND object_lock_retain_until_date. Setting only one has no effect.
Accepts:
- RFC 3339 format: 2030-01-02T15:04:05Z
- Duration from now: 365d, 1y, 6M (days, years, months)
- copy: Copy the date from the source object (requires --metadata)
See: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html
Properties:
- Config: object_lock_retain_until_date
- Env Var: RCLONE_S3_OBJECT_LOCK_RETAIN_UNTIL_DATE
- Type: string
- Required: false
- Examples:
- "copy"
- Copy from source object (requires --metadata)
- "2030-01-01T00:00:00Z"
- Set specific date (RFC 3339 format)
- "365d"
- Set retention for 365 days from now
- "1y"
- Set retention for 1 year from now
#### --s3-object-lock-legal-hold-status
Object Lock legal hold status to apply when uploading or copying objects.
Set this to apply Object Lock legal hold to objects.
If not set, no legal hold is applied (even with --metadata).
Note: Legal hold is independent of retention and can be set separately.
- ON: Enable legal hold
- OFF: Disable legal hold
- copy: Copy the legal hold status from the source object (requires --metadata)
See: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html
Properties:
- Config: object_lock_legal_hold_status
- Env Var: RCLONE_S3_OBJECT_LOCK_LEGAL_HOLD_STATUS
- Type: string
- Required: false
- Examples:
- "ON"
- Enable legal hold
- "OFF"
- Disable legal hold
- "copy"
- Copy from source object (requires --metadata)
#### --s3-bypass-governance-retention
Allow deleting or modifying objects locked with GOVERNANCE mode.
Properties:
- Config: bypass_governance_retention
- Env Var: RCLONE_S3_BYPASS_GOVERNANCE_RETENTION
- Type: bool
- Default: false
#### --s3-object-lock-set-after-upload
Set Object Lock via separate API calls after upload.
Use this for S3-compatible providers that don't support setting Object Lock
headers during PUT operations. When enabled, Object Lock is set via separate
PutObjectRetention and PutObjectLegalHold API calls after the upload completes.
This adds extra API calls per object, so only enable if your provider requires it.
Properties:
- Config: object_lock_set_after_upload
- Env Var: RCLONE_S3_OBJECT_LOCK_SET_AFTER_UPLOAD
- Type: bool
- Default: false
#### --s3-object-lock-supported
Whether the provider supports S3 Object Lock.
This should be true, false or left unset to use the default for the provider.
Set to false for providers that don't fully support the S3 Object Lock API
(e.g. GCS which uses non-standard headers for bypass governance retention
and doesn't implement Legal Hold via the S3 API).
Properties:
- Config: object_lock_supported
- Env Var: RCLONE_S3_OBJECT_LOCK_SUPPORTED
- Type: Tristate
- Default: unset
#### --s3-description
Description of the remote.
@@ -4090,6 +4487,9 @@ Here are the possible system metadata items for the s3 backend.
| content-language | Content-Language header | string | en-US | N |
| content-type | Content-Type header | string | text/plain | N |
| mtime | Time of last modification, read from rclone metadata | RFC 3339 | 2006-01-02T15:04:05.999999999Z07:00 | N |
| object-lock-legal-hold-status | Object Lock legal hold status: ON or OFF | string | OFF | N |
| object-lock-mode | Object Lock mode: GOVERNANCE or COMPLIANCE | string | GOVERNANCE | N |
| object-lock-retain-until-date | Object Lock retention until date | RFC 3339 | 2030-01-02T15:04:05Z | N |
| tier | Tier of the object | string | GLACIER | **Y** |
See the [metadata](/docs/#metadata) docs for more info.
@@ -6177,6 +6577,180 @@ d) Delete this remote
y/e/d> y
```
### Impossible Cloud {#impossible-cloud}
[Impossible Cloud](https://www.impossiblecloud.com/) is a European
S3-compatible object storage provider with regions in Europe and the
US.
Note: Impossible Cloud does not preserve the `Cache-Control`,
`Content-Disposition`, `Content-Encoding` or `Content-Language` system
metadata fields on retrieval, even when they were set at upload time.
Because the `Content-Encoding` response header is also dropped, the
`--s3-decompress` flag has no effect on objects stored there. Other
metadata such as `Content-Type` and the modification time round-trip
normally.
Here is an example of making an Impossible Cloud configuration. First run:
```console
rclone config
```
This will guide you through an interactive setup process.
```text
No remotes found, make a new one?
n) New remote
s) Set configuration password
q) Quit config
n/s/q> n
Enter name for new remote.
name> my-impossible-cloud
Option Storage.
Type of storage to configure.
Choose a number from below, or type in your own value.
[snip]
XX / Amazon S3 Compliant Storage Providers including AWS, Alibaba, ArvanCloud, Ceph, ChinaMobile, Cloudflare, DigitalOcean, Dreamhost, GCS, Hetzner, HuaweiOBS, IBMCOS, IDrive, ImpossibleCloud, IONOS, LyveCloud, Leviia, Liara, Linode, Magalu, Minio, Netease, Outscale, Petabox, RackCorp, Rclone, Scaleway, SeaweedFS, Selectel, Storj, Synology, TencentCOS, Wasabi, Qiniu and others
\ (s3)
[snip]
Storage> s3
Option provider.
Choose your S3 provider.
Choose a number from below, or type in your own value.
Press Enter to leave empty.
[snip]
XX / Impossible Cloud Object Storage
\ (ImpossibleCloud)
[snip]
provider> ImpossibleCloud
Option env_auth.
Get AWS credentials from runtime (environment variables or EC2/ECS meta data if no env vars).
Only applies if access_key_id and secret_access_key is blank.
Choose a number from below, or type in your own boolean value (true or false).
Press Enter for the default (false).
1 / Enter AWS credentials in the next step.
\ (false)
2 / Get AWS credentials from the environment (env vars or IAM).
\ (true)
env_auth>
Option access_key_id.
AWS Access Key ID.
Leave blank for anonymous access or runtime credentials.
Enter a value. Press Enter to leave empty.
access_key_id> ACCESS_KEY
Option secret_access_key.
AWS Secret Access Key (password).
Leave blank for anonymous access or runtime credentials.
Enter a value. Press Enter to leave empty.
secret_access_key> SECRET_KEY
Option region.
Region to connect to.
Choose a number from below, or type in your own value.
Press Enter to leave empty.
1 / Frankfurt, Germany
\ (eu-central-2)
2 / Amsterdam, Netherlands
\ (eu-west-1)
3 / London, UK
\ (eu-west-2)
4 / Paris, France
\ (eu-west-3)
5 / Poznań, Poland
\ (eu-east-1)
6 / Copenhagen, Denmark
\ (eu-north-1)
7 / New York, USA
\ (us-east-1)
region> 1
Option endpoint.
Endpoint for Impossible Cloud Object Storage
Choose a number from below, or type in your own value.
Press Enter to leave empty.
1 / Frankfurt, Germany
\ (eu-central-2.storage.impossibleapi.net)
2 / Amsterdam, Netherlands
\ (eu-west-1.storage.impossibleapi.net)
3 / London, UK
\ (eu-west-2.storage.impossibleapi.net)
4 / Paris, France
\ (eu-west-3.storage.impossibleapi.net)
5 / Poznań, Poland
\ (eu-east-1.storage.impossibleapi.net)
6 / Copenhagen, Denmark
\ (eu-north-1.storage.impossibleapi.net)
7 / New York, USA
\ (us-east-1.storage.impossibleapi.net)
endpoint> 1
Option location_constraint.
Location constraint - must be set to match the Region.
Leave blank if not sure. Used when creating buckets only.
Enter a value. Press Enter to leave empty.
location_constraint>
Option acl.
Canned ACL used when creating buckets and storing or copying objects.
This ACL is used for creating objects and if bucket_acl isn't set, for creating buckets too.
For more info visit https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl
Note that this ACL is applied when server-side copying objects as S3
doesn't copy the ACL from the source but rather writes a fresh one.
If the acl is an empty string then no X-Amz-Acl: header is added and
the default (private) will be used.
Choose a number from below, or type in your own value.
Press Enter to leave empty.
/ Owner gets FULL_CONTROL.
1 | No one else has access rights (default).
\ (private)
/ Owner gets FULL_CONTROL.
2 | The AllUsers group gets READ access.
\ (public-read)
acl>
Edit advanced config?
y) Yes
n) No (default)
y/n>
Configuration complete.
Options:
- type: s3
- provider: ImpossibleCloud
- access_key_id: ACCESS_KEY
- secret_access_key: SECRET_KEY
- region: eu-central-2
- endpoint: eu-central-2.storage.impossibleapi.net
Keep this "my-impossible-cloud" remote?
y) Yes this is OK (default)
e) Edit this remote
d) Delete this remote
y/e/d>
Current remotes:
Name Type
==== ====
my-impossible-cloud s3
e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q>
```
This will leave the config file looking like this.
```ini
[my-impossible-cloud]
type = s3
provider = ImpossibleCloud
access_key_id = ACCESS_KEY
secret_access_key = SECRET_KEY
region = eu-central-2
endpoint = eu-central-2.storage.impossibleapi.net
acl = private
```
### Intercolo Object Storage {#intercolo}
[Intercolo Object Storage](https://intercolo.de/object-storage) offers
+35
View File
@@ -0,0 +1,35 @@
backend: Huaweidrive
name: Huaweidrive
tier: Tier 3
maintainers: External
features_score: 4
integration_tests: Passing
data_integrity: Hash
performance: High
adoption: Some use
docs: Full
security: High
virtual: false
remote: 'TestHuaweiDrive:'
features:
- About
- CanHaveEmptyDirectories
- ChangeNotify
- CleanUp
- Copy
- DirCacheFlush
- DirMove
- Disconnect
- ListR
- Move
- Purge
- PutUnchecked
- ReadMetadata
- ReadMimeType
- UserInfo
- UserMetadata
- WriteMetadata
- WriteMimeType
hashes:
- sha256
precision: 3153600000000000000
+1
View File
@@ -87,6 +87,7 @@
<a class="dropdown-item" href="/hdfs/">HDFS (Hadoop Distributed Filesystem)</a>
<a class="dropdown-item" href="/hidrive/">HiDrive</a>
<a class="dropdown-item" href="/http/">HTTP</a>
<a class="dropdown-item" href="/huaweidrive/">Huawei Drive</a>
<a class="dropdown-item" href="/iclouddrive/">iCloud Drive</a>
<a class="dropdown-item" href="/imagekit/">ImageKit</a>
<a class="dropdown-item" href="/internetarchive/">Internet Archive</a>
+4
View File
@@ -660,6 +660,10 @@ backends:
ignoretests:
- cmd/bisync
- cmd/gitannex
- backend: "huaweidrive"
remote: "TestHuaweiDrive:"
fastlist: true
listretries: 5
- backend: "shade"
remote: "TestShade:"
fastlist: false
+2 -2
View File
@@ -71,8 +71,8 @@ require (
github.com/prometheus/client_golang v1.23.2
github.com/putdotio/go-putio/putio v0.0.0-20200123120452-16d982cac2b8
github.com/quasilyte/go-ruleguard/dsl v0.3.23
github.com/rclone/Proton-API-Bridge v1.0.1-0.20260127174007-77f974840d11
github.com/rclone/go-proton-api v1.0.1-0.20260218123427-1a63a293e3a2
github.com/rclone/Proton-API-Bridge v1.0.1
github.com/rclone/go-proton-api v1.0.1
github.com/rclone/gofakes3 v0.0.4
github.com/rfjakob/eme v1.2.0
github.com/rivo/uniseg v0.4.7
+4 -4
View File
@@ -594,10 +594,10 @@ github.com/quic-go/quic-go v0.59.0 h1:OLJkp1Mlm/aS7dpKgTc6cnpynnD2Xg7C1pwL6vy/SA
github.com/quic-go/quic-go v0.59.0/go.mod h1:upnsH4Ju1YkqpLXC305eW3yDZ4NfnNbmQRCMWS58IKU=
github.com/rasky/go-xdr v0.0.0-20170124162913-1a41d1a06c93 h1:UVArwN/wkKjMVhh2EQGC0tEc1+FqiLlvYXY5mQ2f8Wg=
github.com/rasky/go-xdr v0.0.0-20170124162913-1a41d1a06c93/go.mod h1:Nfe4efndBz4TibWycNE+lqyJZiMX4ycx+QKV8Ta0f/o=
github.com/rclone/Proton-API-Bridge v1.0.1-0.20260127174007-77f974840d11 h1:4MI2alxM/Ye2gIRBlYf28JGWTipZ4Zz7yAziPKrttjs=
github.com/rclone/Proton-API-Bridge v1.0.1-0.20260127174007-77f974840d11/go.mod h1:3HLX7dwZgvB7nt+Yl/xdzVPcargQ1yBmJEUg3n+jMKM=
github.com/rclone/go-proton-api v1.0.1-0.20260218123427-1a63a293e3a2 h1:QR87vlRq+z0JwJsUteEhsXcSrXGJ2yte5MocMSfajM4=
github.com/rclone/go-proton-api v1.0.1-0.20260218123427-1a63a293e3a2/go.mod h1:LB2kCEaZMzNn3ocdz+qYfxXmuLxxN0ka62KJd2x53Bc=
github.com/rclone/Proton-API-Bridge v1.0.1 h1:iLSWfK4SSKRrM1t8DtvMSTUrVOAnkfJ+zdU9hIwgu4s=
github.com/rclone/Proton-API-Bridge v1.0.1/go.mod h1:26RAest751Ofk+F/d8xtl4UyWXrZvMQwn39U8rm/WKM=
github.com/rclone/go-proton-api v1.0.1 h1:Nb7E1d0kPpniupBTqvf0JCmAfRdmuQx0IVjfo5T1/jg=
github.com/rclone/go-proton-api v1.0.1/go.mod h1:LB2kCEaZMzNn3ocdz+qYfxXmuLxxN0ka62KJd2x53Bc=
github.com/rclone/gofakes3 v0.0.4 h1:LswpC49VY/UJ1zucoL5ktnOEX6lq3qK7e1aFIAfqCbk=
github.com/rclone/gofakes3 v0.0.4/go.mod h1:j/UoS+2/Mr7xAlfKhyVC58YyFQmh9uoQA5YZQXQUqmg=
github.com/relvacode/iso8601 v1.7.0 h1:BXy+V60stMP6cpswc+a93Mq3e65PfXCgDFfhvNNGrdo=
+2 -2
View File
@@ -218,12 +218,12 @@ rclone convmv "stories/The Quick Brown Fox!.txt" --name-transform "all,command=e
```console
rclone convmv "stories/The Quick Brown Fox!" --name-transform "date=-{YYYYMMDD}"
// Output: stories/The Quick Brown Fox!-20260130
// Output: stories/The Quick Brown Fox!-20260501
```
```console
rclone convmv "stories/The Quick Brown Fox!" --name-transform "date=-{macfriendlytime}"
// Output: stories/The Quick Brown Fox!-2026-01-30 0852PM
// Output: stories/The Quick Brown Fox!-2026-05-01 0355PM
```
```console
Generated
+4321 -415
View File
File diff suppressed because it is too large. Load diff