GNOME Bugzilla – Bug 338623
rename series: can't change filename extension, crash if no file extension
Last modified: 2007-04-30 11:32:22 UTC
My camera produces files named DSCFnnn.JPG. I want to rename the filename extension JPG by jpg, but "Rename Series" doesn't appear to let me do it. I suggest only adding the extension to the "New Name" only if there is no explicit filename extension. Currently, if the Template is Xxxx#.jpg then the New Name is displayed as Xxxx#.jpg.JPG. (GQView does allow me to change the extension.)
I's like to support that request. Right now I have to use the command line (rename JPG jpg *.jpg) when I want to make the extension lowercase.
Created attachment 72027 [details] [review] Patch to remove hard-coding of extension in series renaming This is my attempt at a patch that removes the automatic insertion of the original extension, and adds an optional "%e" specifier (used by default in the template) to insert the original extension.
Created attachment 73213 [details] [review] Revised patch, fixes Bug 339037 as well The revised patch fixes a crash that occurs if the user attempts to rename files that have no extensions. See bug #339037.
*** Bug 339037 has been marked as a duplicate of this bug. ***
Boosting severity, because the application crashes if the user attempts to rename a series of files that have no extension.
See http://bugzilla.gnome.org/show_bug.cgi?id=305046#c3 for a new roll-up patch.
Patch committed to CVS HEAD.
*** Bug 383893 has been marked as a duplicate of this bug. ***
*** Bug 434556 has been marked as a duplicate of this bug. ***