PDA

View Full Version : Closed regex help



GollyJer
04-21-2009, 07:42 AM
I sync my firefox folder and there are 4 files that always get stuck with hash errors in Powerfolder. The files are:
_CACHE_001_
_CACHE_002_
_CACHE_003_
_CACHE_MAP_
and they do not have extensions.

I'm using this pattern on all clients:
_cache_..._
but it doesn't seem to work.

What is the correct ignore pattern? Thanks.

GollyJer
04-22-2009, 03:11 AM
I'd also like to disable syncing of any file with a tilde ~ in the name.

Thanks.

Face
04-23-2009, 07:01 AM
Hi GollyJer,

At present the best that is possible is _CACHE_*_ , or alternatively you could enter the four cases as separate pattern entries.

*~* will match anything with a ~ .

I will raise the issue about single character matching with the rest of the team.

Regards,
hglas

GollyJer
04-23-2009, 08:39 AM
Thanks hglas.

You guys should update your wiki to define the regex patterns Powerfolder accepts.

Face
04-23-2009, 02:51 PM
Hi GollyJer,

That is a good idea. A page has now been added to the wiki.

http://www.powerfolder.com/wiki/Excluding_Files_from_Synchronization

An internal issue has been raised to discus improvements to pattern matching of file names.

Regards,
hglas