How to copy file using shared with me folder ID?

What is the problem you are having with rclone?

I want to copy files from "Shared with me" Folder using folder id. if i use folder name it's working fine. but what if there is multiple folder name is same?

if i try to use folder ID i get error

"Directory not found"

however i can get the file list using this command
rclone lsf remotename: --drive-root-folder-id=XXX

i tried to use --drive-root-folder-id=XXX for copy but i get skipping message

2021-07-07 11:32:50 DEBUG : XXX..rar: Unchanged s
2021-07-07 11:32:50 INFO  : Google drive root '': Waiting for transfers to finish

What is your rclone version (output from rclone version)


Which OS you are using and how many bits (eg Windows 7, 64 bit)

Windows 7

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

Google Drive

this command working fine but it works only with folder name
rclone copy "remotename:Main\" --drive-shared-with-me "remotename2:" -P -vv

you can get a list of folder id using
%rcmd% lsf --format=pi --dirs-only remote:

you can copy by id, as documented at

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