Created
April 13, 2018 21:12
-
-
Save Yetangitu/dbb624db032fc217cf97898008a27a71 to your computer and use it in GitHub Desktop.
script to run recollindex with correct parameters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
export XAPIAN_FLUSH_THRESHOLD=100 | |
export RECOLL_CONFDIR=/path/to/directory/which/contains/recoll/config/file | |
export RECOLL_TMPDIR=$(mktemp -d /tmp/recollindex.XXXXXXXX) | |
recollindex > $RECOLL_CONFDIR/index.log 2>&1 | |
rm -rf /tmp/$(basename $RECOLL_TMPDIR) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Change
RECOLL_CONFDIR
to point at the directory whererecoll.conf
lives