2009/6/9 Daniel Underwood <[email protected]>:
> I'm trying to convert all PDF files in a directory to text using
> "pdftotext".  I tried the following command:
>
> $ find *.pdf | xargs -0 pdftotext
> Error: Couldn't open file 'Ross-JAMA-2007 (Prostate Screening Strategies).pdf
> Sanda-JAMA-2009 (Prostate Cancer Treatment).pdf
> '
>
> Why is this not working?

since xargs is expecting NUL for seperators
you need th' -print0 primary with find

-- 
--
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to