Skip to content

Skip already excluded directories#97

Open
VladRassokhin wants to merge 3 commits intostevegrunwell:developfrom
VladRassokhin:skip-excluded
Open

Skip already excluded directories#97
VladRassokhin wants to merge 3 commits intostevegrunwell:developfrom
VladRassokhin:skip-excluded

Conversation

@VladRassokhin
Copy link

@VladRassokhin VladRassokhin commented Oct 23, 2024

I've a ~/development/project directory which is manually marked as excluded from Time Machine.
Previously asimov would iterate over its subdirectories, now it won't.

Also, subsequent runs could benefit from that feature.

Using mdfind instead of find "${ASIMOV_ROOT}" -type d -xattrname "com.apple.metadata:com_apple_backup_excludeItem" -prune -print as it's superfast. Though it has a downside: some excluded directories are not reported.

Using `mdfind` since it's fast, yet it may not return all excluded directories

Kinda fixes stevegrunwell#68
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.

1 participant