28 March 2008

Getting updatedb on cygwin to prune paths with spaces

Filed under: cygwin — Tags: — bookweevil @ 8:12 pm

On cygwin, updatedb often gives “Permission denied” errors (e.g. for “C:/System Volume Information”) andFile name too long” errors (e.g. for files in “/cygdrive/c/Documents and Settings/MyName/Local Settings/Temporary Internet Files”).

And attempts to use the “–prunepaths” option to avoid indexing these seem not to work due to the spaces in the filenames. But there is a fix … From the Cygwin mailing list comes the following tip — you can type something like

  updatedb  --prunepaths='/proc  /cygdrive/c/Documents.and.Settings/MyName/Local.Settings/Temp'

to avoid these — prunepaths accepts regular expressions, including the use of a dot (.) to represent any character including a space.

My fix looks something like the following (line breaks inserted for legibility):

updatedb  --prunepaths='/proc /cygdrive/c/program_disk/cygwin










 /cygdrive/h '

13 May 2007

exim on cygwin working

Filed under: cygwin — bookweevil @ 12:00 pm


Have got exim delivering local mail properly, and for non-local mail, talking sensibly to my ISP’s SMTP server. (more…)

exim on cygwin — missing DLLs

Filed under: cygwin — bookweevil @ 12:41 am

The problem: newly installed exim for cygwin doesn’t work. When run, exim exits immediately without producing any error message or sending anything to its logs. (more…)

Blog at