Skip to content

Instantly share code, notes, and snippets.

@kskyten
Created December 10, 2017 10:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kskyten/8610c40b1b3fd36dff9a6548677578ec to your computer and use it in GitHub Desktop.
Save kskyten/8610c40b1b3fd36dff9a6548677578ec to your computer and use it in GitHub Desktop.
Initialize a portable Recoll index
#! /usr/bin/sh
mkdir .recoll
touch .recoll/{history,idxstatus.txt,index.pid,mimeview,ptrans}
cat <<EOF > .recoll/recoll.conf
skippedPaths = .recoll
topdirs = `pwd` # does this need to be set?
orgidxconfdir = `pwd`
EOF
recollindex -c .recoll
recoll -c .recoll
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment