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

Companion command to osf clone #79

Open
betatim opened this issue Jul 3, 2017 · 2 comments
Open

Companion command to osf clone #79

betatim opened this issue Jul 3, 2017 · 2 comments

Comments

@betatim
Copy link
Member

betatim commented Jul 3, 2017

Related to #18: it would be useful to have a simple command that is the opposite of osf clone. I thought about integrating it into osf upload -r but I think the semantics are sufficiently different (for example you don't really want to specify a destination storage, it should use the same as a file currently uses).

Also need to think about how to handle the case when a local file is different from what is on OSF. There are versions on OSF so we might be able to figure out something smarter than just "remote file is different, overwrite?".

Maybe this is the time to switch to osf clone to make the initial copy, osf fetch to update local from OSF and osf push to update OSF from local. Following the git names/pattern a bit.

@ctb
Copy link
Member

ctb commented Jul 3, 2017 via email

@betatim
Copy link
Member Author

betatim commented Jul 3, 2017

would 'osf clone' create a .osfcli.config file for you?

👍

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