Skip to content

Include Flatpak app caches on "All Cache Files" exclusion preset. #2230

@CScallops

Description

@CScallops

The problem

Going to Sources > Manage Excluded Items... > Presets and selecting "All Cache Files", Flatpak application caches are still included in backup.

Requested Solution

I have a proposal on this commit to my fork of the project. I've tested this by adding the proposed changes to the "Raw" exclusion patterns tab. I'll send a PR if you're happy with that.

Excluded directories:

  • *Cache dirs (though listed without a wildcard to avoid greedy matching);
  • .ld.so library linking cache;
  • tmp dir.

I've tested removing them from a few few Flatpak apps and they regenerated these without issue.

Alternatives

One can manuall enter the filters on the Raw exclusion patterns.

Additional context

None.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:staleThis item will be closed soon due to inactivity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions