Skip to content

Previewing a backup's included files: can't --git-ignore on ls #1643

@leaumar

Description

@leaumar

I'd like to clearly and readably preview the list of files that's going to be backed up, like restic's backup -n -vv does. Rustic doesn't seem to have an equivalent, I can only find -n --log-level debug which produces hard to read output full of object toStrings and paths that are excluded. I tried the same options with rustic ls but this says it does not recognize --git-ignore which I want to include.

Did I miss a way to do this, or could support for --git-ignore be added to ls so it mirrors the file filtering flags of the backup command, please?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-commandsArea: Related to commands in `rustic`C-enhancementCategory: New feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions