add spotlight reindex

This commit is contained in:
Leonid Lapshin
2020-10-21 16:09:53 +03:00
parent c543968bdb
commit 50f99319f4

View File

@@ -18,3 +18,8 @@ npm cache clean --force
# Clean up temporary directories
rm -rf ~/utils ~/image-generation
# Erase all indexes and wait until the rebuilding process ends,
# for now there is no way to get status of indexing process, it takes around 3 minutes to accomplish
sudo mdutil -E /
sleep 180