Skip to content

exclude wildcard/partial path patterns #28

@alchemyconsulting

Description

@alchemyconsulting

Hi, I'm trying to sync three nodes of a web cluster with lots of files/directories. There are many instances of the same kind of directory tree (lots of similar vhosts) where we want to exclude certain common directories eg. cache directories.

I've tried using exclude patterns eg:
files/cache
files/cache/*
/files/cache/
/files/cache/

But these directories aren't being excluded. Sample full paths would be something like:
/srv/www/vhosts/<domain-name>/<site-name>/html/application/files/cache/...
where and change between each vhost directory.

Is this possible with csync2?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions