Merge pull request #1876 from LeonidLapshin/spotlight

add spotlight reindex
This commit is contained in:
Maxim Lobanov
2020-11-02 13:39:48 +03:00
committed by GitHub

View File

@@ -30,4 +30,10 @@ npm cache clean --force
yarn cache clean
# 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 /
sudo log stream | grep -q -E 'mds.*Released.*BackgroundTask' || true
echo "Indexing completed"