How Include file id in json export in google drive

What is the problem you are having with rclone?

How to make the json export also with the FileID?

https://drive.google.com/file/d/1D0cKSjQzdUbxuax001szjDM-2juYYdlO

currently exports like this:
{"Path":"Name_File.jpg","Name":"Name_File.jpg","Size":629556,"MimeType":"image/jpeg","ModTime":"2022-05-25T08:05:53.7320000-03:00","IsDir":false},

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

rclone v1.58.1

  • os/version: Microsoft Windows 10 Pro 20H2 (64 bit)
  • os/kernel: 10.0.19042.1055 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.17.9
  • go/linking: dynamic
  • go/tags: cmount

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 lsjson "G:\Meu Drive\__Coleção Verão 22.23" > lista.json

hello,
your example is using a local file system which does not have id.

for id, need to use a remote pointing to gdrive

1 Like

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