File Name Conventions, xmp files, and raw files

lippe
Posts: 296
Joined: 12 Aug 06 11:26
Location: Wondelgem (Belgium)

Re: File Name Conventions, xmp files, and raw files

Post by lippe »

If you still have copy's of de originals straight from camera on a mirror/backup location, then i would preserve the xmapMM:PreservedFileName like they are.
In Photo supreme, you have the luxury of custom fields. I would create (a) custom field(s) just for the purpose and storing the file name and path. ( %FilePath and %FileName. )
There is a beautiful video on the IDimager TV explaining the concept of 'custom input fields' here
Do some testing before on a small subset of the images or test images.
Photo Supreme V6, LR6, darktable, FPV, PSE14 - vaio i5 @ 2.5GHz + 8GB , 850 EVO 500GB - WD 1TB - Windows 10 Pro 64 bits- DS216play - EOS 600D
DirkS
moderator
Posts: 284
Joined: 25 May 08 13:28
Location: Essex, UK

Re: File Name Conventions, xmp files, and raw files

Post by DirkS »

In addition to the above: to get filename / folder name in a (custom) field you can right click and in the menu goto 'Image' (top entry).
From there you can select one of the file macros. 'File Path' gives the full path (drive + subfolder) of the image.

Gr.
Dirk.
Problems searching the forum? Try Google Site Search by adding 'site:forum.idimager.com' to a standard Google search.
MB17
Posts: 22
Joined: 14 Dec 14 13:59

Re: File Name Conventions, xmp files, and raw files

Post by MB17 »

Is there a way to use conditionals on renaming? For instance, I like to put the name of the camera in my file name, but some names are way too big. So if I use something like this can help me a lot:

- if (attribute - camera make) then rename like this... (then I can have presets to reduce each camera name I have, accordingly).

Thanks.
jstartin
Posts: 419
Joined: 23 Aug 06 12:47
Location: UK

Re: File Name Conventions, xmp files, and raw files

Post by jstartin »

MB17 wrote:Is there a way to use conditionals on renaming? For instance, I like to put the name of the camera in my file name, but some names are way too big. So if I use something like this can help me a lot:

- if (attribute - camera make) then rename like this... (then I can have presets to reduce each camera name I have, accordingly).

Thanks.
You need to look at the Quick Manual for Macro Commands. You could use the Replace macro command to replace the strings returned by %Exif:model for each camera by a short code of your choice.
Jim (Photo Supreme: AMD Quad-Core A8-5500 Accelerated Processor 3.2 GHz; SSD; 16GB DDR3 SDRAM; Win10x64)
DirkS
moderator
Posts: 284
Joined: 25 May 08 13:28
Location: Essex, UK

Re: File Name Conventions, xmp files, and raw files

Post by DirkS »

You can make very complex naming rules if you want with inline scripting / code snippets.
I still use

Code: Select all

%yyyy%mm%dd-%hh%nn%ss%coderesult := iif('%exif:model'='E995', '','%zzz{right=2}');%/code.%FileExtension
To make some slight changes for pics from my E995.

A more complex one from mikep:

Code: Select all

%code
if (AnsiSameText('%exif:Model', 'Nikon D200')) then
  result := 'MikeP\%yyyy\%mm%mmmm_%yyyy\%yyyy_%mm_%dd'
else if (AnsiSameText('%exif:Model', 'Nikon D300')) then
  result := 'MikeP\%yyyy\%mm%mmmm_%yyyy\%yyyy_%mm_%dd'
else if (AnsiSameText('%exif:Model', 'Nikon D70s')) then
  result := 'AshtonP\%yyyy\%mm%mmmm_%yyyy\%yyyy_%mm_%dd'
else if (AnsiSameText('%exif:Model', 'Nikon D80')) then
  result := 'MoragP\%yyyy\%mm%mmmm_%yyyy\%yyyy_%mm_%dd'
else if (AnsiSameText('%exif:Model', 'Nikon D90')) then
  result := 'MoragP\%yyyy\%mm%mmmm_%yyyy\%yyyy_%mm_%dd'
else if (AnsiSameText('%exif:Model', 'KODAK DX7440 ZOOM DIGITAL CAMERA')) then
  result := 'AshtonP\%yyyy\%mm%mmmm_%yyyy\%yyyy_%mm_%dd'
else
  result := 'Other\%yyyy\%mm%mmmm_%yyyy\%yyyy_%mm_%dd'; 
%/code
Gr.
Dirk.
Problems searching the forum? Try Google Site Search by adding 'site:forum.idimager.com' to a standard Google search.
Post Reply