Comments (6)
Also ~/.Trash exclusion would be nice, because even if I have trash excluded in TimeMachine I still have to wait for Asimov to scan through.
Wouldn't it be better to just automatically skip all folders that are excluded from time machine then?
from asimov.
#18 excludes ~/Library
as part of other speedup work - we can add others in the same way I suppose, but I wonder if there's a point where the exclusion checks make the overall process slower than just quickly scanning directories!
from asimov.
I was thinking rather about exclusion directly through find
, something like (according to https://stackoverflow.com/questions/4210042/how-to-exclude-a-directory-in-find-command):
find ~ -type d -name "${parts[0]}" -not -path "/Users/*/Library/*"
I think that this shouldn't hit overall performance (I'm not a find
expert so I may be wrong).
Also ~/.Trash
exclusion would be nice, because even if I have trash excluded in TimeMachine I still have to wait for Asimov to scan through.
Regarding the speed.
Maybe excluding nested node_modules
with find
rather than inside the dependency_file_exists()
would save some time?
What I mean is:
find ~ -type d -name "${parts[0]}" -not -path "*/node_modules/*/node_modules*"
from asimov.
#17 (included in #18 as well!) excludes subdeps, and yeah, that -not -path
is the approach used to exclude ~/Library
- I just can't help feeling that will have a cost.
(Trashes folders are a great one though)
from asimov.
I'm still waiting for ~/.Trash
to complete processing (about 20min) despite the fact that I've excluded trash in TM anyway...
The first run of Asimov takes about 2:30 hours, but the overall effect is great.
Thanks for this script.
from asimov.
Yep, why not exclude everything inside the TimeMaschine ignore list from the find process? I mean the ignore list that you can manually edit in the TimeMaschin pane in settings.
from asimov.
Related Issues (20)
- The Asimov Roadmap HOT 19
- Asimov skipping first found item HOT 1
- Does this work with hourly backups? HOT 3
- Block package managers' cache directories HOT 6
- Container and VM directories HOT 1
- Exclude Swift Package Manager HOT 2
- Detect parent directories rather than adding all child directories HOT 1
- Feature request: add `venv requirements.txt` HOT 3
- removing all exclusion and stopping / uninstalling HOT 2
- Do not ignore folders in already ignored folder HOT 2
- Add option to exclude found folders also from Spotlight HOT 2
- Unclear how this works as a brew service?
- Only run inside current directory?
- Question: Apps using excluded pattersn
- MacOS Monterey? HOT 11
- Cannot start asimov service (service already bootstrapped) HOT 5
- Add a summary of the size ignored
- Error (-50) while attempting to change exclusion setting. HOT 4
- For Monterey Arm do not work HOT 2
- readme: Make a statement about hiding `node_modules` from Spotlight
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asimov.