Changing Wide x Hight position to nº 5 & 6!?!?

Started by ph4ntom74, October 06, 2010, 01:00:56 PM

Previous topic - Next topic

ph4ntom74

Hi everyone,

i would like to point out that i am not a programmer, i work as a sysadmin but just have script automation knowledge, not programming.
i need some help with something i dont even know if it is possible to make with ExifTool.

I currently need to find a way to rename files that are scanned and create a decent hierarchical structure (this is know it can be done with ExifTool) but i also need to change some of the metadata table structure, exemple:

1-Date
2-formate
3-Image Hight
4-Image Wide
5-etc..


How can i change the nº 3 (image hight) and nº 4 (image wide) to lets say...position 5 and 6 for instance? is that possible with ExifTool? if so, can anyone please help me on how to do this?!

would be much appreciated!  :)

Phil Harvey

I don't understand what you are asking.

You can output metadata in any order you want:

exiftool -createdate -filetype -imagewidth -imageheight FILE

or use tags in any order to organize images into a directory tree:

exiftool '-directory<$createdate/$filetype/$imagewidth/$imageheight' FILE

(Here I have used single quotes as needed for Mac/Linux, but Windows users should use double quotes.)

Do either of these examples help?

- 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 ($).