Re: How to Ignore Any File Name Ending with the Pound Sign #
Sebastian Schleussner <[email protected]> Fri, 19 Jul 2024 11:20:54 -0700 (PDT)
| Newsgroups | gmane.network.unison.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Henry,
This will work:
ignore = Name {*#}
Slightly unconventional, but I think it's basically just a special case of
the documented "{a,b,c}" syntax.
If you run Unison interactively and ask it to permanently ignore a file
(I=capital-i command), the new profile entry will have this format; that's
how I found out about it long ago.
/Sebastian
On Friday 19 July 2024 at 20:04:26 UTC+2 [email protected] wrote:
Hello,
What can I write in a Unison profile to ignore any file paths ending with a
pound sign #? I've tried the following, and none worked.
I think the tricky part is that Unison treats "#" as a special character
for commenting in a profile.
ignore = Name *#
ignore = Name *\#
ignore = Name *[#]
ignore = Name *\\#
ignore = Name "*#"
ignore = Name *"#"
Thanks,
Henry
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].