Rename pictures in the command-line interface

Dário P. fbsd.questions.list at
Mon Jan 4 21:46:50 UTC 2010

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. :)

More information about the freebsd-questions mailing list