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

create command to synchronise a folder with a collection #10

Open
line-o opened this issue Jul 20, 2022 · 1 comment
Open

create command to synchronise a folder with a collection #10

line-o opened this issue Jul 20, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@line-o
Copy link
Member

line-o commented Jul 20, 2022

xst sync <source> <target>

Synchronise the contents of target with source.

  • Resources and collections not found in source will be removed in target.
  • Resources and collections not found in target will be copied from source.
  • Resources that were modified in source will be copied to target.

Options

  • --watch: do not close the process after initial sync but watch for changes and re-sync

refs eXist-db/node-exist#207

@line-o
Copy link
Member Author

line-o commented Jul 20, 2022

Syncing from DB to FS will be harder to implement as exist does not provide a changes feed yet.

@line-o line-o added the enhancement New feature or request label Dec 14, 2022
@line-o line-o self-assigned this Nov 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant