scripts/index.min
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
;Re-index articles 'hastysite import "Indexing articles..." notice . :pwd (. "data.db") => "/" join :store (. "contents") => "/" join cd "Deleting search index..." notice store rm "Importing data..." notice "litestore -s:$1 -d:articles import" (store) => % ! pwd cd "All done." notice |