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

partial clone #167

Open
russelljjarvis opened this issue Apr 26, 2019 · 2 comments
Open

partial clone #167

russelljjarvis opened this issue Apr 26, 2019 · 2 comments

Comments

@russelljjarvis
Copy link

russelljjarvis commented Apr 26, 2019

Label -->Feature request/Enhancement.
Data repositories can be large it would be useful if OSFs python API allowed you to download just single files that you could use in a python script.

I can perform this functionality using Rs OSF API, but not with pythons API.
ropensci/osfr#91

@behinger
Copy link

behinger commented Nov 4, 2020

(not a developer) but what you can do is use osfclients fetch to get single files


# download a single file from an OSF project
$ osf -p <projectid> fetch remote/path.txt local/file.txt

@russelljjarvis
Copy link
Author

Oh cool. Thanks @behinger

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

2 participants