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

List Shared with Me files #187

Closed
csaleman opened this issue May 7, 2015 · 5 comments
Closed

List Shared with Me files #187

csaleman opened this issue May 7, 2015 · 5 comments
Labels
Milestone

Comments

@csaleman
Copy link

csaleman commented May 7, 2015

Hi, I haven't been able to list the files/directories in "Shared with me" and not yet added to "My Drive". There is any method to "Add to my Drive"?

drive list -shared

drive list

both return the same list.


drive version: 0.2.0
Commit Hash: '6d9751a9333cce78d0ccfe7504a4e47bdcf5f2a6'
Go Version: go1.2.1
OS: linux/amd64

@odeke-em
Copy link
Owner

odeke-em commented May 7, 2015

Hello @csaleman, thank you for reporting this and welcome to drive!

Good catch. Yes I intentionally turned this off as you'll see in src/list.go. But that was because I needed to properly implement listing of shared folders, the traversal works alright, just the actual printing.
I will take a look at this in about 10 hours when I get back home.

@odeke-em
Copy link
Owner

odeke-em commented May 9, 2015

PR #189 addresses this. Just doesn't yet have searching for shared files by matches, otherwise by plain traversal and listing, the PR adresses it.

Please get the latest and thank you for reporting this!

@odeke-em odeke-em closed this as completed May 9, 2015
@odeke-em odeke-em added the bug label May 9, 2015
@odeke-em odeke-em added this to the v0.2.1 milestone May 9, 2015
@csaleman
Copy link
Author

Thank you !! I just now wonder how to pull from a shared that has not been added to my drive yet.

@odeke-em
Copy link
Owner

Good point, so I'll be adding a feature to pull shared as well as pulling by id. However, pull shared with me is a little tricky because the pull and push operations are centric to content owned by you, so pulling in shared folders might be a little tricky unless it is explicitly annotated. Potentially files "shared" might pollute your files and cause erasures. However, we'll think of something. Please open a separate issue and we can work on it there.
Thank you for raising this!

@odeke-em
Copy link
Owner

@csaleman I've implemented operations by Id (e.g pull --id) in PR #200 and the latest can be found on master.

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

No branches or pull requests

2 participants