Skip to content

Conversation

@tomjnixon
Copy link
Contributor

This option can't be added to both init and action, because the rsync exclude mechanism is used to select the files to send, so would delete all non-changed files. It's only relevant during init anyway, as after that no excluded files will be made on the destination.

This is useful to me because it allows excluded files to be easily removed on the destination even if they were not excluded when they were created.

I can make a separate PR with documentation changes if required. Do you think this needs tests?

Thanks!

This option can't be added to both init and action, because the rsync
exclude mechanism is used to select the files to send, so would delete
all non-changed files. It's only relevant during init anyway, as after
that no excluded files will be made on the destination.
@poelzi poelzi merged commit 0b59ae7 into lsyncd:master Dec 13, 2021
@juangacovas
Copy link
Contributor

This is nice to have and just needed it! Thanks

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

Successfully merging this pull request may close these issues.

3 participants