Date: Mon, 04 Jan 2010 16:14:18 -0500 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: =?iso-8859-1?Q?D=E1rio?= "P." <fbsd.questions.list@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Rename pictures in the command-line interface Message-ID: <44hbr1374l.fsf@be-well.ilk.org> In-Reply-To: <1262638631.12080.18.camel@dasp-laptop> (=?iso-8859-1?Q?=22D?= =?iso-8859-1?Q?=E1rio?= \"P.\""'s message of "Mon, 04 Jan 2010 21:57:11 %2B0100") 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>
next in thread | previous in thread | raw e-mail | index | archive | help
D=E1rio "P." <fbsd.questions.list@gmail.com> writes: > Seg, 2010-01-04 =E0s 20:59 +0100, Polytropon escreveu: > >> As you see: I have a reason to believe that I should better >> write a new script that takes such things into mind and maybe >> offer reverse renumbering, overwrite protection and a better >> selection which files (instead of hardcoded *) to process. > > I think I gonna use the Nathan's Perl script, it did the job without any > problem (at least for now :D). 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. --=20 Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44hbr1374l.fsf>