mirror of
https://github.com/rclone/rclone.git
synced 2025-08-18 01:20:16 +02:00
pCloud: Added support for interchangeable root folder for pCloud backend - #3957
This commit is contained in:
committed by
Nick Craig-Wood
parent
8a3c4c6a7b
commit
4af5c9aed7
@@ -112,6 +112,28 @@ Deleted files will be moved to the trash. Your subscription level
|
||||
will determine how long items stay in the trash. `rclone cleanup` can
|
||||
be used to empty the trash.
|
||||
|
||||
### Root folder ID ###
|
||||
|
||||
You can set the `root_folder_id` for rclone. This is the directory
|
||||
(identified by its `Folder ID`) that rclone considers to be the root
|
||||
of your pCloud drive.
|
||||
|
||||
Normally you will leave this blank and rclone will determine the
|
||||
correct root to use itself.
|
||||
|
||||
However you can set this to restrict rclone to a specific folder
|
||||
hierarchy.
|
||||
|
||||
In order to do this you will have to find the `Folder ID` of the
|
||||
directory you wish rclone to display. This will be the `folder` field
|
||||
of the URL when you open the relevant folder in the pCloud web
|
||||
interface.
|
||||
|
||||
So if the folder you want rclone to use has a URL which looks like
|
||||
`https://my.pcloud.com/#page=filemanager&folder=5xxxxxxxx8&tpl=foldergrid`
|
||||
in the browser, then you use `5xxxxxxxx8` as
|
||||
the `root_folder_id` in the config.
|
||||
|
||||
<!--- autogenerated options start - DO NOT EDIT, instead edit fs.RegInfo in backend/pcloud/pcloud.go then run make backenddocs -->
|
||||
### Standard Options
|
||||
|
||||
@@ -152,4 +174,13 @@ See: the [encoding section in the overview](/overview/#encoding) for more info.
|
||||
- Type: MultiEncoder
|
||||
- Default: Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot
|
||||
|
||||
#### --pcloud-root-folder-id
|
||||
|
||||
Fill in for rclone to use a non root folder as its starting point.
|
||||
|
||||
- Config: root_folder_id
|
||||
- Env Var: RCLONE_PCLOUD_ROOT_FOLDER_ID
|
||||
- Type: string
|
||||
- Default: "d0"
|
||||
|
||||
<!--- autogenerated options stop -->
|
||||
|
Reference in New Issue
Block a user