Know shared Drive id from command?

Hi
I would like to know if there is any command to know the id of the shared drives configured in the rclone config with this command you can know the id of the files
rclone lsf -F ip drive:path/to/dir
is there something to know the id of the shared Drive without going into the config file?

I can't figure out what you are asking.

Do you want to know the root_folder_id of the remote configured?
Do you want to know the ID of the file pulled?

yes ,the root folder

You can do:

rclone config show remote:

and it lists out the id there.

thanks. You have been very helpful. it is a pity that it does not only show the id (for privacy issue)

You can do something like:

felix@gemini:~$ rclone config show GD: | grep root_folder_id
root_folder_id = blah

or

felix@gemini:~$ rclone config show GD: | grep root_folder_id | awk {' print $3 '}
blah

If you want just that line or just the ID.

1 Like

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