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

Feature request: update if different #153

Open
daeh opened this issue May 29, 2023 · 0 comments
Open

Feature request: update if different #153

daeh opened this issue May 29, 2023 · 0 comments

Comments

@daeh
Copy link

daeh commented May 29, 2023

Thanks for the great package, it has been extremely useful.

One feature I'd appreciate is to be able to sync osf with a local folder without overwriting every file. My current solution is to download the repo, diff it with the local directory, and then upload the changed files (and delete the removed files/folders). That works just fine but it'd be great if there was a conflicts="sync" option that did that internally.

I'm imagining that osfr could download files to a temp folder, hash the files, and then overwrite the osf files that have been modified (and delete the osf files/folders that are not present in the local directory).

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

1 participant