Skip to content

Exclude .pixi from macOS Time Machine backups #3324

@abey79

Description

@abey79

Problem description

The .pixi directory can become sizeable with large project (13GB for https://github.com/rerun-io/rerun), but is not excluded by default from macOS Time Machine backups, contrary to, say, Cargo's target directory:

❯ tmutil isexcluded target
[Excluded]  /Users/hhip/src/rerun/target

❯ tmutil isexcluded .pixi
[Included]  /Users/hhip/src/rerun/.pixi

❯ tmutil isexcluded .pixi/envs
[Included]  /Users/hhip/src/rerun/.pixi/envs

It would be great if pixi would have the same behaviour.

This Cargo PR may inform a possible implementation:

Related:

Unfortunately, Time Machine doesn't recognise CACHEDIR.TAG, so this approach is not sufficient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions