+++ This bug was initially created as a clone of Bug #131936 +++ Version: 0.1.2 (using KDE 3.5.2, Gentoo) Compiler: gcc version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9) OS: Linux (i686) release 2.6.17-gentoo-r4 For renaming/overwriting purposes it would be great if the file extension could be switched between lowercase and uppercase e.g. you can rename a file like "a245.jpg" to "b245.JPG".
I have cloned this wish for the AdvancedRename utility...
SVN commit 1045697 by aclemens: Allow changing the extension with modifiers, too. AdvancedRename will now return the full name, so I had to change renaming methods in AlbumUI, CameraUI and BQM. You can use the [ext] token for this task. If prepended with a '.' character, it will be used as the new file extension. Examples (filename: "myfile0001.jpg"): [ext]_aaa => jpg_aaa.jpg [ext]_aaa[ext] => jpg_aaajpg.jpg [ext]_aaa[ext]& => jpg_aaaJPG.jpg [ext]_aaa.[ext]& => jpg_aaa.JPG [ext]_aaa.[ext]&xx => jpg_aaa.JPGxx [file][ext]& => myfile0001JPG.jpg [file].[ext]& => myfile0001.JPG BUG:208907 M +1 -4 digikam/imageviewutilities.cpp M +72 -65 tests/advancedrenametest.cpp M +33 -14 utilities/advancedrename/advancedrenamedialog.cpp M +5 -2 utilities/advancedrename/common/parseinformation.h M +15 -4 utilities/advancedrename/common/parser.cpp M +1 -1 utilities/advancedrename/common/subparser.cpp M +2 -2 utilities/advancedrename/common/subparser.h M +1 -1 utilities/advancedrename/parsers/subparsers/cameranameparser.cpp M +1 -1 utilities/advancedrename/parsers/subparsers/cameranameparser.h M +1 -1 utilities/advancedrename/parsers/subparsers/dateparser.cpp M +1 -1 utilities/advancedrename/parsers/subparsers/dateparser.h M +1 -1 utilities/advancedrename/parsers/subparsers/directorynameparser.cpp M +1 -1 utilities/advancedrename/parsers/subparsers/directorynameparser.h M +10 -5 utilities/advancedrename/parsers/subparsers/filepropertiesparser.cpp M +1 -1 utilities/advancedrename/parsers/subparsers/filepropertiesparser.h M +2 -2 utilities/advancedrename/parsers/subparsers/metadataparser.cpp M +2 -2 utilities/advancedrename/parsers/subparsers/metadataparser.h M +1 -1 utilities/advancedrename/parsers/subparsers/sequencenumberparser.cpp M +1 -1 utilities/advancedrename/parsers/subparsers/sequencenumberparser.h M +2 -11 utilities/cameragui/cameraiconview.cpp M +1 -3 utilities/cameragui/renamecustomizer.cpp M +1 -1 utilities/cameragui/renamecustomizer.h M +10 -9 utilities/queuemanager/queuelist.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1045697