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 option to not delete any file when syncing #3

Closed
fredleger opened this issue Sep 23, 2024 · 3 comments
Closed

add option to not delete any file when syncing #3

fredleger opened this issue Sep 23, 2024 · 3 comments

Comments

@fredleger
Copy link

Having to define patterns to avoid deleting files seems a tedious task. How about letting the user specify which one shoudl be deleted (so reversing the option) ?

@kirito41dd
Copy link
Owner

You can use js regex described in this tag
https://github.com/kirito41dd/obsidian-hugo-publish/releases/tag/1.0.6

@fredleger
Copy link
Author

yes but listing all patterns to ignore is tedious when you just want the sync to keep evrything ...
IMHO the reverse logic is more suitable (list what you allow to be deleted). At least in my use case

@kirito41dd
Copy link
Owner

use .* to match all

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