Merge pull request #1876 from LeonidLapshin/spotlight
add spotlight reindex
This commit is contained in:
@@ -31,3 +31,9 @@ yarn cache clean
|
|||||||
|
|
||||||
# Clean up temporary directories
|
# 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"
|
||||||
Reference in New Issue
Block a user