Hello Kim, and others,

On 5/7/17, Kim Oldfield <[email protected]> wrote:
> On  1 May 2017, Mark Trickett via luv-main typed:
>> I have photos from my mobile phone, an old Nokia 6021, and readily get
>> them onto the PC.
>> I wish to reorder them to be year, month and
>> then day.
>
> An alternative to filename based shell scripts and the rename command is
> to use jhead to rename them based on the date and time embedded in the
> exif jpeg header.

There were a number of suggestions, Russell and others came up with
shell scripts, which have generic merit. i think that the one of
Russell's that I tried had a small hiccup with unmatched brackets, and
not quite sure where the opening one should have been.

Craig came up with the perl based rename command, and his example
worked a treat, and again is flexible for more than just photos.

Your contribution is also very instructive, it has value in that it
does not depend on the filenames having any commonality.

I rate all of these as very useful and informative.

 Now I have another small question, i want to make copies of selected
photos, but with a maximum size limit. I do have, and use, convert. I
scan documents, and use convert to put the right way up, and convert
the native scan format to jpeg. For the photos, I want to make them
less than 250Mb. I will reread the man page, but there are so many
options, and quite the implications.... It reminds me of trying to set
up Xwindows in the earlier days, having to know the implications of
the dot clock and the like, especially if you did not have the monitor
details.

> For example:
>
> jhead -n'%Y%m%d-%H%M%S(%03i)' *.jpg
>
> Will rename files matched by *.jpg to the format YYYYMMDD-HHMMSS(00#).jpg

Again, thanks to everybody.

Regards,

Mark Trickett
_______________________________________________
luv-main mailing list
[email protected]
https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main

Reply via email to