From owner-freebsd-questions@FreeBSD.ORG Mon Jan 4 21:46:50 2010 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 AFA8C10656AC for ; Mon, 4 Jan 2010 21:46:50 +0000 (UTC) (envelope-from fbsd.questions.list@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id A2E718FC12 for ; Mon, 4 Jan 2010 21:46:48 +0000 (UTC) Received: by ewy26 with SMTP id 26so13574824ewy.3 for ; Mon, 04 Jan 2010 13:46:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=qQ2nESA5qOuRikSHtFm94zI5DB82iJIX66/kC67CmMU=; b=kdLEiR7kK6q0oNFowphtVDeAvpZjUj3yM0WyWkm64JQGKU/mMbuBx7J1Mz7rclHFCw vU5Cuq9i/oqqGFTGBEnMu8elneJaPNDZSbIvPshiLvfXuZgWBiYdsYGjbi7V6CRJ+Gon 9zYkdyKBbCZFXlW7Aaf4y8obGejzVtBs5DPP4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=B580VBBL8/rLaJPD/9XvUEOva19KQBMvOyMuM2JgPYilPqRbh6FInDiHSSHYeCyVu6 9d1EtTRjGJ6LoZLCKMCphFSvOl3CH8c1mpiyHmKTFYQdqCCXnpeoOQm6OYKiFSIcmI7H fXpG70k4Sfysu9FlIqVPQkFr70Nlgn8vPyhyo= Received: by 10.213.104.88 with SMTP id n24mr1043668ebo.0.1262641596488; Mon, 04 Jan 2010 13:46:36 -0800 (PST) Received: from ?192.168.2.2? (ip4da86a9a.direct-adsl.nl [77.168.106.154]) by mx.google.com with ESMTPS id 7sm37765146eyb.18.2010.01.04.13.46.23 (version=SSLv3 cipher=RC4-MD5); Mon, 04 Jan 2010 13:46:26 -0800 (PST) From: =?ISO-8859-1?Q?D=E1rio?= "P." To: Lowell Gilbert In-Reply-To: <44hbr1374l.fsf@be-well.ilk.org> References: <1262624558.9656.16.camel@dasp-laptop> <20100104191610.5054255f.freebsd@edvax.de> <1262632437.11494.18.camel@dasp-laptop> <20100104205911.24b5296c.freebsd@edvax.de> <1262638631.12080.18.camel@dasp-laptop> <44hbr1374l.fsf@be-well.ilk.org> Content-Type: text/plain; charset="UTF-8" Date: Mon, 04 Jan 2010 22:46:16 +0100 Message-ID: <1262641576.12080.37.camel@dasp-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: Rename pictures in the command-line interface 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: Mon, 04 Jan 2010 21:46:50 -0000 Seg, 2010-01-04 às 16:14 -0500, Lowell Gilbert escreveu: > You might want to look at the "jhead" port. > > It uses the date the picture was taken for the new name, so it's both > stable (i.e., if you run it again you get the same results) and sorts > into proper order. Well, the problem is that some of the pictures that I wanna rename don't have Exif header (e.g. pictures taken from internet), so it will not work in this case (I think). And even some pictures I have taken with my camera that don't have the right date. That is the why I'm renaming to img1.jpg, img2.jpg, etc. Quote from jhed website: "-dc Delete comment field from the JPEG header. Note that the comment is not part of the Exif header." This is another thing that I was looking for, thanks to you, now I know how to do it. Thanks for the tip. :)