renaming jpeg files
Todd Slater
dontodd at gmail.com
Mon Oct 9 14:30:48 UTC 2006
On 10/9/06, Dotan Cohen <dotancohen at gmail.com> wrote:
> On 09/10/06, Todd Slater <dontodd at gmail.com> wrote:
> > On 10/9/06, Dotan Cohen <dotancohen at gmail.com> wrote:
> > > I have a recursive directory of photos with inconsistent filenames. Is
> > > there a program that will rename all the files, based upon the time
> > > and date that the photo was taken? Can I do this with bash (that means
> > > that bash will need to read the exif data)?
> >
> > I wrote a bash script that will rename pictures. It requires the exif
> > package. It won't recurse directories, but just calling it in a 'for'
> > loop should do the trick.
> >
> > http://idea.zanestate.edu/wordpress/images/renamer.txt
> >
> > HTH,
> >
> > Todd
> >
>
> Nice job. I do need the time as well as the date, though. In any case,
> I can learn quite a bit from looking at your code. Thanks.
In that case, jhead is probably your best bet. Look at the -n option
and its arguments.
Todd
More information about the ubuntu-users
mailing list