A problem while processing photos from N900

Started by pavneetarora, January 09, 2012, 08:39:54 AM

Previous topic - Next topic

pavneetarora

Hello,

I use exiftool as part of my workflow under Ubuntu (currently running version 11.10).  Part of the workflow is changing the filename and depositing the image into directory locations based on the timestamp of the image.  No troubles when processing photos from my various Olympus DSLRs.  However, in trying to use the same command with photos from my Nokia N900 phone, I get the following error:

$ exiftool '-FileName<CreateDate' -d ~/Pictures/Photos/%Y/%m/%%e/%Y-%m-%d-%Hh%Mm%Ss%%-c.%%e N900-Test
Warning: No writable tags set from N900-Test/20120109_002.jpg
    1 directories scanned
    0 image files updated
    1 image files unchanged


I have removed the distribution version of exiftool, which was version 8.60, and have manually installed 8.75.  I am enclosed the image with this post, and would be grateful for any insight into my difficulty.  I am sure it is something obvious that I am overlooking.

advTHANKSance.

The image information for the test image is:

$ exiftool -a -u -g1 N900-Test/20120109_002.jpg
---- ExifTool ----
ExifTool Version Number         : 8.75
---- System ----
File Name                       : 20120109_002.jpg
Directory                       : N900-Test
File Size                       : 756 kB
File Modification Date/Time     : 2012:01:09 08:08:56-05:00
File Permissions                : rw-r--r--
---- File ----
File Type                       : JPEG
MIME Type                       : image/jpeg
Exif Byte Order                 : Little-endian (Intel, II)
Image Width                     : 2576
Image Height                    : 1936
Encoding Process                : Baseline DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:2:0 (2 2)
---- IFD0 ----
Make                            : Nokia
Camera Model Name               : N900
Orientation                     : Horizontal (normal)
X Resolution                    : 300
Y Resolution                    : 300
Resolution Unit                 : inches
Modify Date                     : 2012:01:09 08:03:53
Y Cb Cr Positioning             : Centered
---- ExifIFD ----
Exposure Time                   : 1/15
F Number                        : 2.8
Exposure Program                : Not Defined
ISO                             : 606
Exif Version                    : 0210
Date/Time Original              : 2012:01:09 08:03:53
Components Configuration        :
Shutter Speed Value             : 1/8
Aperture Value                  : 2.8
Light Source                    : Unknown
Flash                           : No Flash
Focal Length                    : 5.2 mm
Flashpix Version                : 0100
Color Space                     : sRGB
Exif Image Width                : 2576
Exif Image Height               : 1936
Custom Rendered                 : Normal
Exposure Mode                   : Auto
White Balance                   : Auto
Digital Zoom Ratio              : 1
Scene Capture Type              : Standard
Gain Control                    : High gain down
Contrast                        : Normal
Saturation                      : Normal
---- XMP-x ----
XMP Toolkit                     : Exempi + XMP Core 4.1.1
---- XMP-dc ----
Type                            : Image
Format                          : image/jpeg
---- Composite ----
Aperture                        : 2.8
Image Size                      : 2576x1936
Shutter Speed                   : 1/15
Focal Length                    : 5.2 mm
Light Value                     : 4.3

Phil Harvey

You are copying CreateDate to Filename, but the Nokia image doesn't contain a CreateDate tag.  Try coping DateTimeOriginal insetead.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

pavneetarora

Thanks for you quick reply, Phil.  Your suggestion worked like a charm!

Phil Harvey

Discussion about sorting output alphabetically has been moved to this thread

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).