How to specify the `--drive-root-folder-id ` option for source drive only

What is the problem you are having with rclone?

I am using rclone copy source: dest: to copy contents from source drive to dest path.

I prefer to specify the --drive-root-folder-id option for source drive only. I don't know how I can do this. By default, adding this option seems effect for both source drive and dest drive.

Run the command 'rclone version' and share the full output of the command.

rclone v1.57.0
- os/version: ubuntu 21.10 (64 bit)
- os/kernel: 5.13.0-30-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.17.2
- go/linking: static
- go/tags: none

Which cloud storage system are you using? (eg Google Drive)

Google Drive.

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone copy -vv --progress --drive-server-side-across-configs  source:   --drive-root-folder-id  xxxx  dest:

The easiest way is this

rclone copy -vv --progress --drive-server-side-across-configs  source,root_folder_id=XXX:  dest:

Or put it in the config for source: if appropriate.

Cool, thanks for sharing.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.