I’ve been a developer for years… the irony of it all, I’ve never been able to wrap my head around Regex. I can work at it for hours, and I don’t quite get the syntax.
However, OneDrive creates a temp file which duplicati throws a warning at due to the file currently being accessed.
Is their a possible way with regex to block that file? The issue which concerns me is that the only factor to the file is that it starts with a period, however, I have other files & folders that start with a period as well.
The temp file takes on the following name:
\OneDrive\.46A26367-A756-1E56-2B6E-72412F2A707B
And it appears to change each time you reboot and sign back in.
I assume maybe with regex you’d have to look for the dashes as well as the period at the beginning? But I also have no idea which option I’d select, such as Exclude Expression, Exclude Regular Expression, etc. I don’t quite get the difference between the two.
Sorry for such a noob question. I’ve really tried to learn Regex. It’s just one of those things…
Edit
I’ve been messing with the online regex editors, and I came up with:
[A-Za-z0-9]+(-[A-Za-z0-9]+)+
and ([A-Za-z0-9]+(-[A-Za-z0-9]+)+)
However, I still get the error. I’ve tried “Exclude Expression” and “Exclude Regular Expression”. But every time I go back to re-edit the expression again in the settings, it keeps auto defaulting to “Exclude File”.
I’ve also tried Edit Line as Text