Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

access to the shared folders #95

Open
drmashiur opened this issue Dec 12, 2023 · 3 comments
Open

access to the shared folders #95

drmashiur opened this issue Dec 12, 2023 · 3 comments

Comments

@drmashiur
Copy link

drmashiur commented Dec 12, 2023

Thanks for developing this and really very helpful tool for automate different process.

Using the gdrive account add command, I can see the list of files and folders that I own, but how can I see the list of files that have been shared with me? I have "editor" privileges on those folders.

@Nik3939
Copy link

Nik3939 commented Jan 2, 2024

Hi @drmashiur
You can see the list of files of a shared folder by using the command "gdrive files list --drive [ID of the shared folder]" where the ID can be taken from the url that you see when you open the folder in the drive in your browser of choice

@Nik3939
Copy link

Nik3939 commented Jan 2, 2024

However, I didn't find a way to download such files as it seems the --drive flag is not implemented in the download command...

@thompsonmj
Copy link

thompsonmj commented Apr 26, 2024

@drmashiur and @Nik3939 , you can create a shortcut to the shared folder:

  • Go to "Shared with me"
  • Click the vertical ... on the shared folder you want to download
  • Click "Organize" > "Add shortcut" and put it into "My Drive"

Now, you'll see the ID with gdrive files list, and you can download it with

gdrive files download --recursive --follow-shortcuts [ID]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants