add spotlight reindex

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

View File

@@ -17,4 +17,9 @@ cp $HOME/image-generation/output/software-report/systeminfo.txt $HOME/image-gene
npm cache clean --force
# Clean up temporary directories
rm -rf ~/utils ~/image-generation
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