|
Exif and Jhead - mass pictures naming |
|
|
|
|
Written by Administrator
|
|
Everybody have millions of pictures taken by his digital camera. Big mess image files straight but so few speakers of titles such as: im000884.jpg, dscn3091.jpg etc.. Do not you want to have the pictures described in this way: wroclaw_12-04-2006_12: 56.jpg or other przyjanzych more titles? If so, this is a short text for you. Exchangeable Image File Format (Exif) is a metadata standard for image files. He was awarded by the Japan Electronics and Information Technology Industries Association. Most digital cameras that support this standard, although often only in the earlier version 2.1. Examples of data stored in this format are:
* The name of the camera * Shutter speed, Aperture * Date and time taken * Copyright * Image thumbnail
and the like. Unfortunately, a few graphics programs which support this standard. Often there is a situation that in the modification of the image data or lose this match they image to change. Examples of data that contains the picture:
File name: 0905-153933.jpg File size: 493,023 bytes File date: 2009:08:12 21:09:04 Camera make: Canon Camera model: Canon PowerShot S900 Date / Time: 2001:09:05 15:39:39 Resolution: 1600 x 1200 Flash used: No Focal length: 5.4mm (35mm equivalent: 36mm) CCD Width: 5.23mm Exposure time: 0.10 s (1 / 10) Aperture: f/2.8 Focus Dist. : 1.18m Metering Mode: center weight Jpeg process: Baseline
Fortunately, the world is a very interesting program called jhead grateful that lets us play with these data. The program can be downloaded from the homepage of the application or distribution of the respective repositories. Simply use it is very simple. Provide any information to us:
jhead-h
If you want to have our photo-friendly format wydajmy command:
jhead-n% Y-% m-% d_% H:% M * jpg
After the parameter-n is not a space. If everything is OK we'll see the following listing:
[paszczak000 marta freecon @ "> $ jhead-n% Y-% m-% d_% H:% M * jpg CRW_41401.jpg -> 2006-04-22_12: 29.jpg CRW_4144.jpg -> 2006-04-22_12: 32.jpg dscn3608.jpg -> 2005-04-20_21: 55.jpg dscn3609.jpg -> 2005-04-20_21: 55a.jpg dscn3610.jpg -> 2005-04-20_21: 56.jpg dscn3612.jpg -> 2005-04-20_21: 56a.jpg
We can also write some n-string, which has more photos name: freecon-2006-04-23_17: 57.jpg:
jhead-nffreecon-% Y-% m-% d_% H:% M * jpg
* Repeated letter f-nf as a parameter for porgram. An interesting option is the-autorot that automatically changes images to the vertical, provided that the camera, which did save a picture of the position in which the hotel did. |