Skip to content

Add a list of fixed directories to exclude#69

Open
pkuczynski wants to merge 1 commit intostevegrunwell:developfrom
pkuczynski:fixed-dirs
Open

Add a list of fixed directories to exclude#69
pkuczynski wants to merge 1 commit intostevegrunwell:developfrom
pkuczynski:fixed-dirs

Conversation

@pkuczynski
Copy link
Copy Markdown

Those developer-related directories seem to be pretty common...

~/.dts
~/.kube/cache
~/.kube/http-cache
~/.m2
Copy link
Copy Markdown

@dyorgio dyorgio Dec 22, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest to don't exclude ~/.m2, but ~/.m2/repository.
settings.xml is inside ~/.m2 and is a very important file (can keep passwords and secrets)

django23 added a commit to django23/asimov that referenced this pull request Feb 19, 2026
Add fixed directory exclusions for common tool caches (~/.cache,
~/.gradle/caches, ~/.m2/repository, ~/.npm/_cacache, ~/.nuget/packages,
~/.kube/cache) that are always safe to exclude without sentinel files.

Inspired by stevegrunwell#69, props @pkuczynski.
django23 added a commit to django23/asimov that referenced this pull request Feb 19, 2026
Add fixed directory exclusions for common tool caches (~/.cache,
~/.gradle/caches, ~/.m2/repository, ~/.npm/_cacache, ~/.nuget/packages,
~/.kube/cache) that are always safe to exclude without sentinel files.

Inspired by stevegrunwell#69, props @pkuczynski.
django23 added a commit to django23/asimov that referenced this pull request Feb 19, 2026
* docs(readme): clarify that asimov only affects Time Machine, not Spotlight

Add a note explaining that asimov does not hide directories from
Spotlight indexing, with guidance on how to configure Spotlight privacy
settings separately.

Addresses stevegrunwell#90.

* feat(sentinels): add .NET project build directory exclusions

Exclude bin/ and obj/ directories when *.csproj (C#) or *.fsproj (F#)
project files are present, using glob sentinel patterns.

Inspired by stevegrunwell#87, props @guigomesa.

* feat: skip already-excluded directories for faster subsequent runs

Use Spotlight metadata (mdfind) to identify directories already excluded
from Time Machine and skip them during the find traversal. Also fixes a
comment typo and removes duplicate Gradle sentinel entries.

Inspired by stevegrunwell#97, props @VladRassokhin.

* feat: exclude well-known global cache directories

Add fixed directory exclusions for common tool caches (~/.cache,
~/.gradle/caches, ~/.m2/repository, ~/.npm/_cacache, ~/.nuget/packages,
~/.kube/cache) that are always safe to exclude without sentinel files.

Inspired by stevegrunwell#69, props @pkuczynski.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants