RSS

Update on Jhead…

11 Nov

After a little tweaking, I came up with the following Jhead command, which named 99.5% of my picture files with the following format: FourDigitYear-TwoDigitMonth-TwoDigitDay_TwoDigitHour-TwoDigitMinute-TwoDigitSecond.jpg (e.g.: 2000-05-23_21-28-26.jpg, which translates to May 23, 2000, 9:28:26 pm)

jhead -nf%Y-%02m-%02d_%02H-%02M-%02S *

I still have 28 files which had been manually renamed in ages past which jhead refuses to rename, complaining that “Possible new names for ‘filename’ already exist” I may have to rename those manually. We shall see.

On a side note, I had to separate out .bmp’s, .mov’s, .tif’s, etc. and will have to deal with them later. Jhead seems to work only with jpeg’s. Once I get the renaming and organization settled, it will be time to go to work on tagging with KPhotoAlbum.

Advertisements
 
1 Comment

Posted by on November 11, 2008 in Uncategorized

 

Tags: , , , ,

One response to “Update on Jhead…

  1. Mr. Muppet

    September 13, 2014 at 1:22 pm

    I had the same problem. But it just means that jhead ran out of signs to differentiat files. I for example wanted to name some photos “Costa_Rica”, so jhead named the first file “Costa_Rica”, the second “Costa_Rica01” and so on until 09. Than it ran out of numbers and gave the above error. Hope it helps….

     

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: