-
Notifications
You must be signed in to change notification settings - Fork 0
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
multiple formats (or reguar expression matching) #2
Comments
I also have the case where I did not change an error in the backup filename format yet, because of prunef. Though adding the possibility to include multiple matches may lead to annoying issues. Like if I would change my format to So I'm rather against adding this option. A fix would be just to rename the old filenames, but what can one do, if renaming is not possible? |
swapping things like
I'd actually would've like to "merge" these (reason for my regex type request). These names comes from a different system, and sometimes those daily gets missed for known reasons related to the up syncing and those getting removed before the sync, and why I'd like to then continue using the best frequent (in the absence of hourly/daily). Would save me to do continuous (on the receiving side) renames, but again, if there are reasons for not implementing, I'll handle it accordingly |
There is no reason against implementing. I'm just considering options and possible disadvantages that may arise when implementing. What about glob? https://pkg.go.dev/path#Match would this work for your case? You could maybe make a rule like |
Perhaps an option to include multiple matches, especially when there is hourly/monthly/frequent snapshots already pre-created or a naming change happened.
The text was updated successfully, but these errors were encountered: