From owner-freebsd-questions@FreeBSD.ORG Tue Jun 9 17:41:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3535106570F for ; Tue, 9 Jun 2009 17:41:17 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-qy0-f204.google.com (mail-qy0-f204.google.com [209.85.221.204]) by mx1.freebsd.org (Postfix) with ESMTP id 678868FC14 for ; Tue, 9 Jun 2009 17:41:17 +0000 (UTC) (envelope-from illoai@gmail.com) Received: by qyk42 with SMTP id 42so224453qyk.7 for ; Tue, 09 Jun 2009 10:41:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=8ZW2JvtYDud0D7WpkaVFKxnA19XkQsyCfI0jFCp+has=; b=YYRm0mAGap96KZcaBGhdI8O/JeIXWnBUAuiA7u6NJVKvhQUq23NAAg2fHib7ldf5DT cFpX3vMN+O6RA4qY9SBvkihGDPoC1VTzH1jcRfLNI2RtV4gyvWcDEKJguZZ45kuGVcR3 jMl6CNN7e6GluTNkeoud7sE+Cth7wZ/zBK/Ls= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=K9aGOJEqV5RHFyR3Acv4xTYmojdok/qpECv0DOPUfWKjljRn27kKyP0BEuMs0EpbaL 0RnAvKbi0rC0vLoODSUITFwQkJWBypzRBKX3gcuOk0XrUD7H8CSbKZbjLpAaHuVSVcjM TW8o88MuBHSOdHsSUGJL3zoAmvdgk9m7eyqII= MIME-Version: 1.0 Received: by 10.231.15.7 with SMTP id i7mr122839iba.43.1244569276366; Tue, 09 Jun 2009 10:41:16 -0700 (PDT) In-Reply-To: References: <3D527043-AF88-4A26-8029-FD51159E6ABB@yahoo.fr> Date: Tue, 9 Jun 2009 13:41:16 -0400 Message-ID: From: "illoai@gmail.com" To: Daniel Underwood Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: PDF inventory software X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jun 2009 17:41:18 -0000 2009/6/9 Daniel Underwood : > 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 --