Skip to content

--include switch #104

@PiQuer

Description

@PiQuer

First of all, thank you for this impressive peace of software.

I think the counterpart to the --exclude switch could be useful.

Use case: a huge directory DIR which should be excluded and a configuration file DIR/config which should be archived.

attic create $REPOSITORY $HOME --exclude $HOME/DIR --include $HOME/DIR/config

The only other possibilities would be to keep track of the contents of DIR and exclude everything except config within DIR, which is cumbersome and error prone, or to copy DIR/config to some other place before the backup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions