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

add sync mode that is like -batch if no conflicts, but prompts like -auto if there are #1052

Open
Dromantor opened this issue Jul 31, 2024 · 1 comment
Labels
enhancement issue is a request for a feature, and not a defect

Comments

@Dromantor
Copy link

What I'm most missing is a way to automatically sync without any interaction when there is no conflict like -batch does, but prompt the user what to do when one arises like -auto does.

I have a batch file calling unison for each project directory I'm mirroring from a NAS. Currently I'm syncing with -auto because I want to be able to handle conflicts when they arise (multi user environment, so this could happen), but then I have to confirm Proceed with propagating updates? [] each time. With -batch on the other hand any collisions would get ignored and I'd had to pause at the end of the batch file and manually review the output each time, or first run everything with -batch, and then everything again with -auto to fix collisions, which isn't great ...

A -prompt-on-conflict flag or -batch-prompt mode would be great. Or a way to set the default action of Proceed with propagating updates? [] to "y" so -auto just works as I want.

If this is already possible please point me in the right direction, I couldn't find it in the manual.

@gdt gdt added the enhancement issue is a request for a feature, and not a defect label Oct 9, 2024
@gdt
Copy link
Collaborator

gdt commented Oct 9, 2024

This is a reasonable request; pull requests welcome.

@gdt gdt changed the title Feature Request: -batch but prompt on conflict like -auto add sync mode that is like -batch if no conflicts, but prompts like -auto if there are Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement issue is a request for a feature, and not a defect
Projects
None yet
Development

No branches or pull requests

2 participants