Skip to content

Enable download of project with a filter to include/exclude certain files or filetype #233

Description

@raherin

In many cases we need to download a previous version of a project but only need the project files. In these cases, it would be useful to be able to add a filter to the project download, for example to exclude all media files, so we aren't downloading several GBs of data when we only need the project and config files.

Examples:
mergin download ws/projectname --exclude=media/* --exclude=mybgnd.mbtiles
mergin download ws/projectname --include=data/* --include=*.gpkg --include=project.qgz

No mixing between includes and excludes.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions