From owner-freebsd-questions@FreeBSD.ORG Tue Jun 9 18:20:47 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 1A3EE1065698 for ; Tue, 9 Jun 2009 18:20:47 +0000 (UTC) (envelope-from lordofhyphens@gmail.com) Received: from mail-pz0-f195.google.com (mail-pz0-f195.google.com [209.85.222.195]) by mx1.freebsd.org (Postfix) with ESMTP id DB6608FC1A for ; Tue, 9 Jun 2009 18:20:46 +0000 (UTC) (envelope-from lordofhyphens@gmail.com) Received: by mail-pz0-f195.google.com with SMTP id 33so182542pzk.3 for ; Tue, 09 Jun 2009 11:20:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=k0XAn9gKwRDZ2Pfu5ptfduQkP3xdNyY4Dn6r2+eAY8k=; b=uUt1HR+YHu3mot7fitLwHa7j0naqvIabgull4edSjukueMp5W5uYRMFHk+GAu+Ph8k K9qJ6x0DcSZck6eUtI43QHmYM1sPZGuZEK7YRBNEsVbpw4XB+9NCjvQkFj7ppbSDM+oV hzLd9f4JnuvLjrM/QPT37bPZ8NPLM9JT7pi0w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=JOQ8osp/JukbMOcOnIwGH7GG1I9+B8mTw61LITq/kSSUHS4tOOb6510EhA5WkE7BDG dBlPk4YA3Jgk0CmzC6nnJgg9e3Thpm7lPhh7+BhGFF8UuhVLO1xTVisZMlGYSkiYe8oP dIAFoDKHeFetF30nLRMDYJLffT7MTb9si9yj8= Received: by 10.115.73.20 with SMTP id a20mr567709wal.72.1244571646478; Tue, 09 Jun 2009 11:20:46 -0700 (PDT) Received: from ?131.230.191.52? (ee122.engr.siu.edu [131.230.191.52]) by mx.google.com with ESMTPS id m34sm7756100waf.56.2009.06.09.11.20.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 09 Jun 2009 11:20:45 -0700 (PDT) Message-ID: <4A2EA7F0.60501@gmail.com> Date: Tue, 09 Jun 2009 13:20:32 -0500 From: LoH User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: "illoai@gmail.com" References: <3D527043-AF88-4A26-8029-FD51159E6ABB@yahoo.fr> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 18:20:47 -0000 illoai@gmail.com wrote: > 2009/6/9 Daniel Underwood : > >> 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? >> What about: $ find *.pdf -exec pdftotext {} \; ?