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

Gregor Hoffleit flight at debian.org
Fri Aug 25 18:42:55 CEST 2006


------- 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         
           Summary: Batch rename limited, should allow renaming by patterns
           Product: kipiplugins
           Version: unspecified
          Platform: Debian testing
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: batchprocessimages
        AssignedTo: kde-imaging kde org
        ReportedBy: flight debian org


Version:            (using KDE KDE 3.5.4)
Installed from:    Debian testing/unstable Packages0

Batch rename currently supports only a very limited set of renaming schemes.

Just one example, it does not support the naming scheme proposed by exiflow (http://exiflow.sourceforge.net/), where the number is extracted from the original file name and prefixed by a date format and some other information pieces:

    dsc_1234.nef -> 20050412-n001234-ur000.nef

I'd suggest to remove the currently hardcoded and limited rename options from renameimageswidget in favor of a more general solution. One might just adopt the code from krename, where the following pattern would to the job:

    [creationdate;yyyyMMdd]-n00[%5-8]-ur000[%9-]

The patterns used in krename are flexible enough to replace all options that are currently available in batch rename (the only option missing is extraction of the EXIF image date). If necessary, one could even reimplement the current options on top of this patterns.


More information about the Kde-imaging mailing list