1 (edited by geohei 2007-07-12 11:31:04)

Topic: dupes

Hi.

While renaming pictures using EXIF information, dupes appear from time to time. How can I automatically avoid errors?

E.g. is it possible to add "_dup" to the basename instead of creating an error?

Thanks,

Re: dupes

Hi Georges, welcome.


In Siren press the F1-key
and search for> coll
and you can read

%nc  : the selection number relative to a name "collision"
          (same beginnings)
          the expression part following "%nc" is not taken into
          account.
          for example, with the expression: %dmd_%nc.%e
          File           Modif date     Result
          Image1.jpg     01/01/2004     20040101_001.jpg
          Image2.jpg     12/12/2004     20041212_001.jpg
          Image3.jpg     01/01/2004     20040101_002.jpg
          Image4.jpg     12/12/2004     20041212_002.jpg
          Image5.jpg     12/12/2004     20041212_003.jpg
          Image6.gif     12/12/2004     20041212_004.gif
   %ncs : same principle as "%nc" except that it is empty for
          the first element of the "collision group" and prefixed
          by a "_" for the others.
          for example, with the expression: %dmd%ncs.%e
          File           Modif date     Result
          Image1.jpg     01/01/2004     20040101.jpg
          Image2.jpg     12/12/2004     20041212.jpg
          Image3.jpg     01/01/2004     20040101_001.jpg
          Image4.jpg     12/12/2004     20041212_001.jpg
          Image5.jpg     12/12/2004     20041212_002.jpg
          Image6.gif     12/12/2004     20041212_003.gif
   %ncf : Same as "%nc" except that the path is not taken into
          account. Only the file name parts are compared
   %ncfs: Same as "%ncs" but on the file name parts

I would use %ncs




This How to mentioned this behaviour too:
http://scarabee.software.free.fr/forum/ … php?id=112

The variables "%nc" and "%ncs" give a unique value avoiding
   name "collisions".
   Use an expression like: Planet_Mars_%Xdo%ncs.jpg

HTH? big_smile

Re: dupes

Find me: renaming error duplicate duplicates pairs same name dublikat doppelt double   twice two of a kind zweimal doublement géminé, géminée même pair identique, identique  nom de fichier

Re: dupes

Stefan wrote:

Hi Georges, welcome.

...

HTH? big_smile

It did. Thanks a lot!
Would have been surprised if Rémi would not have included such a feature!

Bye,