Skip to main content.
home | support | download

Back to List Archive

RE: Indexing pdf files - Problem with spaces in names

From: David Cogley <david(at)not-real.cogley.com>
Date: Fri Jan 31 2003 - 12:44:04 GMT
Thank you!  Everything works as expected now.

-----Original Message-----
From: Alan Tigri [mailto:ATigri@iris-group.it]
Sent: Thursday, January 30, 2003 11:41 AM
To: 'david@cogley.com'
Cc: Multiple recipients of list
Subject: R: [SWISH-E] Indexing pdf files - Problem with spaces in names


change line:
44:	open F, "pdfinfo $file |" || die "$0: Failed to open $file $!";
with line:
44:	open F, "pdfinfo \"$file\" |" || die "$0: Failed to open $file $!";


and line:
83:	open F, "pdftotext $file - |" or die "$0: failed to run pdftotext:
$!";
whit line:
83:	open F, "pdftotext \"$file\" - |" or die "$0: failed to run
pdftotext: $!";


bye...

> -----Messaggio originale-----
> Da:	David Cogley [SMTP:david@cogley.com]
> Inviato:	giovedý 30 gennaio 2003 17.28
> A:	Multiple recipients of list
> Oggetto:	[SWISH-E] Indexing pdf files - Problem with spaces in names
>
> Can anyone suggest a simple fix to _pdf2html.pl to correct problems with
> directories and filenames that have spaces?
>
Received on Fri Jan 31 12:44:27 2003