renaming jpeg files

Tchize tchize at myrealbox.com
Mon Oct 9 11:39:35 UTC 2006


hi

this is a part of the documentation for a tool named jhead, available in
the universe repository:

*-n[<fmt-string>] * 	This option causes files to be renamed according to
the Exif header "DateTimeOriginal" field. If the file is not an Exif
file, or the DateTimeOriginal does not contain a valid value, the file
date is used. Renaming is by default restricted to files whose names
consist largely of digits. This effectively restricts renaming to files
that have not already been manually renamed, as the default sequential
names from digital cameras consist largely of digits. Use the -nf option
to force renaming of all files.


Dotan Cohen a écrit :
> 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)?
>
> Note that I also posted this message to the Kubuntu list, as I use the
> KDE desktop. Thanks.
>
> Dotan Cohen
>
> http://dotancohen.com/
> http://simplesniff.com/
>
>   





More information about the ubuntu-users mailing list