[Kde-imaging] [Bug 132982] Batch rename limited, should allow renaming by patterns

Piotr Tarnowski piotr_tarnowski at wp.pl
Sat Oct 20 01:56:47 CEST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=132982         




------- Additional Comments From piotr_tarnowski wp pl  2007-10-20 01:56 -------
Created an attachment (id=21869)
 --> (http://bugs.kde.org/attachment.cgi?id=21869&action=view)
Patch for extra renaming options (for version 0.1.4)

I've made this patch to extend limited rename capabilities of this plugin.
When extra check box is checked follwing happens:
* neither extension nor number is added by default
* one can use following extra symbols in Date format:
[e] - extension as is
[e-] - extension lower case
[e+] extension upper case
[i] - sequence number - no leading zeros
[i:4] - sequence number in 4 digit with leading zeros format 
[n] - original file name
[n+] - original file name upper case
[n-] - original file name lower case
[n:5..-2] - substring of original filename from char 5 to second from the end
(either 5 or -2 can be empty which means from beginning or to the end, both
star and stop numbers can be positive (from begining) or negative (from end)
also + or - can be used after n)
Also polish translation of new check label is provided.

This patch does not bring the power of krename to kipi but is powerful enough
form most cases. There is screen shot provided in next attachment.


More information about the Kde-imaging mailing list