2009/6/9 Daniel Underwood <djuatde...@gmail.com>:
> 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

-- 
--
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to