Quote Originally Posted by peety3


Quote Originally Posted by Colin500


Quote Originally Posted by peety3


On my PC, I can tell DownloaderPro to download to W:\Jobs\{J}\Import-{E}\{m}{D}-{T8} and rename to {T8}-{o}, and it'll automatically put the files in a tree that looks like W:\Jobs\RttR-Awards\Import-JPG\1209-50D\50D-IMG_0123.JPG. Control-J allows me to change the job code, and automatically JPGs/RAWs are split, the date is used for hierarchy along with camera model, and the camera model/code is inserted at the beginning of the filename. Images can be losslessly rotated during import, so even basic folder browsing shows pictures that are right-side-up.



For the record: If you know your way around the Unix-shell, you could easily throw together a script that does exactly what you want.


I know my way around the UNIX shell. What's the command that returns the model of camera used for an image file?



There are probably several possibilities, for me the following was the easiest:


A) Install the developer tools with XCode and gcc (I need them anyhow).


B) Install MacPorts fromhttp://www.macports.org/ (I need that anyhow, too).


C) Install the "exif" port, and enjoy:
<pre>colin@tigger# exif IMG_0006.JPG
EXIF tags in 'IMG_0006.JPG' ('Intel' byte order):
--------------------+----------------------------------------------------------
Tag |Value
--------------------+----------------------------------------------------------
Manufacturer |Canon
Model |Canon PowerShot G1
Orientation |top - left
x-Resolution |180.00
y-Resolution |180.00
Resolution Unit |Inch
Date and Time |2001:02:19 17:42:30
YCbCr Positioning |centered
Compression |JPEG compression
x-Resolution |180.00
y-Resolution |180.00
Resolution Unit |Inch
Exposure Time |1/8 sec.
FNumber |f/2.0
Exif Version |Exif Version 2.1
Date and Time (origi|2001:02:19 17:42:30
Date and Time (digit|2001:02:19 17:42:30
Components Configura|Y Cb Cr -
Compressed Bits per |3.00
Shutter speed |3.00 EV (APEX: 2, 1/8 sec.)
Aperture |2.00 EV (f/2.0)
Exposure Bias |-1.00 EV
MaxApertureValue |2.00 EV (f/2.0)
Subject Distance |0.7 m
Metering Mode |Center-Weighted Average
Flash |Flash did not fire.
Focal Length |7.0 mm
Maker Note |384 bytes undefined data
User Comment |
FlashPixVersion |FlashPix Version 1.0
Color Space |sRGB
PixelXDimension |2048
PixelYDimension |1536
Focal Plane x-Resolu|7366.91
Focal Plane y-Resolu|7349.28
Focal Plane Resoluti|Inch
Sensing Method |One-chip color area sensor
File Source |DSC
InteroperabilityInde|R98
InteroperabilityVers|0100
RelatedImageWidth |2048
RelatedImageLength |1536
--------------------+----------------------------------------------------------
EXIF data contains a thumbnail (3122 bytes).
colin@tigger#
</pre>


Colin