From owner-freebsd-questions@FreeBSD.ORG Thu Jun 17 19:31:14 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FD051065672 for ; Thu, 17 Jun 2010 19:31:14 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr2.xs4all.nl (smtp-vbr2.xs4all.nl [194.109.24.22]) by mx1.freebsd.org (Postfix) with ESMTP id ABA308FC16 for ; Thu, 17 Jun 2010 19:31:13 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr2.xs4all.nl (8.13.8/8.13.8) with ESMTP id o5HJVCmm080589 for ; Thu, 17 Jun 2010 21:31:12 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id C9E63BAAE; Thu, 17 Jun 2010 21:31:11 +0200 (CEST) Date: Thu, 17 Jun 2010 21:31:11 +0200 From: Roland Smith To: questions@freebsd.org Message-ID: <20100617193111.GA4310@slackbox.erewhon.net> References: <20100617152237.GA68461@bewilderbeast.blackhelicopters.org> <4C1A576D.9090601@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BXVAT5kNtrzKuDFl" Content-Disposition: inline In-Reply-To: <4C1A576D.9090601@FreeBSD.org> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Subject: Re: PDF storage software recommendations? 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: Thu, 17 Jun 2010 19:31:14 -0000 --BXVAT5kNtrzKuDFl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 17, 2010 at 01:12:13PM -0400, Greg Larkin wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > Michael W. Lucas wrote: > > Hi, > >=20 > > I have to store a bunch of PDFs of orders. I'd like to be able to > > "tag" these by customer, date, and a couple of other characteristics, > > and then search and/or sort by these tags. > >=20 > > I'm certain that we have something in ports that will do this, but > > danged if I can find a good candidate. While I'm sure I could build a > > database/PHP app that would work, surely someone's already done this? > > Any recommendations? Keep it simple. Rename the pdf files so that their names encode the data you want. Then find(1) will do most of what you want.=20 If the pdf files contain text instead of scanned images, you could probably= do the renaming automatically with the help of pdftotext(1) from the 'poppler-utils' port and your favorite scripting language. Put them in sub-directories e.g. by year or even year/month if you've got l= ots. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --BXVAT5kNtrzKuDFl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwad/8ACgkQEnfvsMMhpyX7nwCeNK+lmbrjAQYzW3SykEgvpIVr HLYAnjJoqZdaxP0yOz0H1StSptptdvem =tVv7 -----END PGP SIGNATURE----- --BXVAT5kNtrzKuDFl--