[Csync2] Partial path excludes?
Marcus Bointon
marcus at synchromedia.co.uk
Fri Nov 30 13:48:07 CET 2007
I have various hierarchies I want to sync, but there are some
consistent patterns I want to exclude. From the docs it doesn't sound
like I can exclude paths based on wildcards - I can either select
explicit paths (/...), or partial filenames (*.php), but not partial
paths (somedir/*). The particular case I have is for compiled Smarty
templates - essentially anything inside a 'templates_c' directory
(anywhere in the hierarchy, and there may be lots that I don't want to
have to specify manually) should be ignored. In rsync I do --
exclude="templates_c/*". I've tried:
exclude templates_c/*
but it didn't work (it still synced their contents). How can I do this
in csync2?
Marcus
--
Marcus Bointon
Synchromedia Limited: Creators of http://www.smartmessages.net/
UK resellers of info at hand CRM solutions
marcus at synchromedia.co.uk | http://www.synchromedia.co.uk/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3945 bytes
Desc: not available
Url : http://lists.linbit.com/pipermail/csync2/attachments/20071130/d21e6aca/smime.bin
More information about the Csync2
mailing list