[Digikam-users] kipi batch rename extension

Piotr Tarnowski piotr_tarnowski at wp.pl
Mon Oct 22 08:06:50 BST 2007


Hi all,

When it came to batch rename I found very limited features of kipi plugin,

I've made and published to http://bugs.kde.org/show_bug.cgi?id=132982
patch which allows additional symbols in date and time format field (you 
can put ordinary characters there as well).

Here are examples: of what is possible with this patch (you can see 
screen shot in bug attachment):

[a] - album name
[p+] - absolute path (uppercase)
[e] - extension (small one - after last '.')
[B:4..-2] - base name (big one - all before last ',', from 4-th to one 
before last characters)
[n+:..5] - whole name (base + extension, characters from 1 to 5)
[b-:-3..] - base name (small one - all before first '.', last 3 
characters)
[E-:-10..-10] - 10-th last character of big extension (the one after 
first '.')

in this mode automatic numbering is optional and requires following tag:

[i] - number without any leading zeros
[i:4] - four digits with leading zeros

I've changed even mode - now '/' is not removed but replaced with '!' 
(especially use useful combined with [p] tag).

I've published this message here because I thing this patch can  be 
useful for digiKam users. Patch is for kipi-plugins 0.1.4 - current 
stable.

Patch has also polish translation of form label.

/Piotr

----------------------------------------------------
Paul Oakenfold - najdroższy DJ świata
już 7 grudnia wystąpi w Hali Stulecia we Wrocławiu.  
Zobacz więcej:
http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2Fgaleria.html&sid=61





More information about the Digikam-users mailing list