Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jun 2009 13:41:16 -0400
From:      "illoai@gmail.com" <illoai@gmail.com>
To:        Daniel Underwood <djuatdelta@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: PDF inventory software
Message-ID:  <d7195cff0906091041y2da0bcbeoded2fb35b17d1d69@mail.gmail.com>
In-Reply-To: <b6c05a470906091018k3a2f7527o640a526949596141@mail.gmail.com>
References:  <b6c05a470906081417x370edb66yb86fac71b462eab8@mail.gmail.com> <3D527043-AF88-4A26-8029-FD51159E6ABB@yahoo.fr> <b6c05a470906091018k3a2f7527o640a526949596141@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/6/9 Daniel Underwood <djuatdelta@gmail.com>:
> I'm trying to convert all PDF files in a directory to text using
> "pdftotext". =A0I 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

--=20
--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d7195cff0906091041y2da0bcbeoded2fb35b17d1d69>