GwenRename

Utilities

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

3
Score 50.0%
Description:

GwenRename is a series (batch) renaming tool. It was created as an external tool for GwenView, the image viewer for KDE, but it can be used from Dolphin and Konqueror as well. As that, the files to be renamed are passed to it as command line parameters, through the service menu mechanism.
It supports EXIF data extraction, file's timestamping and use of profiles.

How to use it:
GwenView: select file(s) - right click - "External Tools / Rename with GwenRename" (currently not applicable)
Dolphin/Konqueror: select file(s) - right click - "Actions / Rename with GwenRename"
Last changelog:

9 years ago

GwenRename 1.1-beta7:
=====================
- Fixed EXIF manipulation crash

GwenRename 1.1-beta6:
=====================
- Fixed corrupted po files
- Added Czech (cs) translation, by Pavel Fric
- No changes to the source code

GwenRename 1.1-beta5:
=====================
- ported to KDE4!!!
- Visual ON/OFF switches have been added, so that options can be displayed/hidden. This makes more room for the items list (useful in lower screen resolution)
- When screen size is less than 800px, one of the ON/OFF switches will always be off, so that the program window can fit the screen
- Fixed the list invertion function
- Fixed the compound expressions read/write procedure. Thanks to John Bee
- Fixed compound expressions activation on program startup. Thanks to John Bee
- Fixed a bug in the list item removal procedure that could lead to a crush when various filename lengths are present

GwenRename 1.1-beta4:
=====================
- GwenRename can now be executed without parameters. In this case the user will have to select the folder cotaining the files to be renamed, through the "Folder selection" dialog
- A mode selection dialog was added. It will be presented to the user, when a single folder is passed to GwenRename
- Files/folders can now be added/removed from the list of items that will be renamed, from within the program, using the ListView context menu
- Started writing the user manual. Added help to the program dialogs
- Layout changes
- Many more minor changes

GwenRename 1.1-beta3:
=====================
- Ability to convert underscore/dash to space
- Use and manage compound extensions
- Layout changes
- Added icons to eliminate the icon installation problem. Thanks to Gunther Zilz
- Added a link to a Mandriva 2007.1 rpm by Gerardo Bueno (gejobj@gmail.com). For bug reports regarding this rpm please contact its packager

GwenRename 1.1-beta2:
=====================
Packagers bug fix release

- Fixed a icons installation bug reported by Gerardo Bueno, that would cause conflicts with package gwenview. No ghanges were made to the code

This bug affects packagers only, so if you installed from source, it won't interest you.
If you are a packager, please update to this release in order to provide consistent packages for your distro.
I am really sorry for the inconvenience

- Updated the link to the Mandriva 2007.1 rpm by Gerardo Bueno. For bug reports regarding this rpm please contact its packager

GwenRename 1.1-beta1.1:
======================
- Added Spanish (es) translation by Gerardo Bueno. No changes were made to the code
- Added a link to a Mandriva 2007.1 rpm by Gerardo Bueno (gejobj@gmail.com). For bug reports regarding this rpm please contact its packager

GwenRename 1.1-beta1:
====================
- Added the ability to convert spaces to underscore/dash

This is the first release of a series of beta releases, until I implement all the features
I want to add to version 1.1. These features are:
- Ability to convert spaces to underscore/dash - added to the current release
- Ability to add/remove files to the list of files to be renamed
- Ability to select and use part of the original filename for renaming

Each beta release will implement one of these features, and will be released only after it
has been thoroughly tested. So each beta release can be considered stable but not "fully featured"

Droopy159

8 years ago

[quote]
Scanning dependencies of target doc-handbook
[ 0%] Generating index.cache.bz2
index.docbook:8: warning: failed to load external entity "dtd/kdex.dtd"
]>
^
index.docbook:10: parser error : Entity 'language' not defined
<book lang="&language;">
^
index.docbook:10: element book: validity error : No declaration for attribute lang of element book
<book lang="&language;">
^
index.docbook:13: element title: validity error : No declaration for element title
<title>The GwenRename Handbook</title>
^
index.docbook:17: element firstname: validity error : No declaration for element firstname
<firstname></firstname>
^
index.docbook:18: element othername: validity error : No declaration for element othername
<othername></othername>
^
index.docbook:19: element surname: validity error : No declaration for element surname
<surname>Spiros Georgaras</surname>
^
index.docbook:21: element email: validity error : No declaration for element email
<address><email>sng@hellug.gr</email></address>
^
index.docbook:21: element address: validity error : No declaration for element address
<address><email>sng@hellug.gr</email></address>
^
index.docbook:22: element affiliation: validity error : No declaration for element affiliation
</affiliation>
^
index.docbook:23: element author: validity error : No declaration for element author
</author>
^
index.docbook:24: element authorgroup: validity error : No declaration for element authorgroup
</authorgroup>
^
index.docbook:27: element year: validity error : No declaration for element year
<year>2003</year>
^
index.docbook:28: element year: validity error : No declaration for element year
<year>2009</year>
^
index.docbook:29: element holder: validity error : No declaration for element holder
<holder>Spiros Georgaras</holder>

...

^
index.docbook:587: element link: validity error : No declaration for attribute linkend of element link
<para>This window manages the current <link linkend="items-management">Selection
^
index.docbook:587: element link: validity error : No declaration for element link
indow manages the current <link linkend="items-management">Selection List</link>
^
index.docbook:587: element para: validity error : No declaration for element para
a user defined string, and adding or removing the matching items from it.</para
^
index.docbook:588: element para: validity error : No declaration for element para
<para>Available options are:</para>
^
index.docbook:592: element guimenu: validity error : No declaration for element guimenu
<para><guimenu>Case sensitive search</guimenu></para></listitem>
^
index.docbook:592: element para: validity error : No declaration for element para
<para><guimenu>Case sensitive search</guimenu></para></listitem>
^
index.docbook:592: element listitem: validity error : No declaration for element listitem
<para><guimenu>Case sensitive search</guimenu></para></listitem>
^
index.docbook:594: element guimenu: validity error : No declaration for element guimenu
<para><guimenu>Invert selection in item list</guimenu></para>
^
index.docbook:594: element para: validity error : No declaration for element para
<para><guimenu>Invert selection in item list</guimenu></para>
^
index.docbook:595: element para: validity error : No declaration for element para
<para>If checked, items not matching the search string will be selected.</para><
^
index.docbook:595: element listitem: validity error : No declaration for element listitem
checked, items not matching the search string will be selected.</para></listitem
^
index.docbook:597: element guimenu: validity error : No declaration for element guimenu
<para><guimenu>Add to current selection</guimenu></para>
^
index.docbook:597: element para: validity error : No declaration for element para
<para><guimenu>Add to current selection</guimenu></para>
^
index.docbook:598: element guimenu: validity error : No declaration for element guimenu
ed to the current selection. If <guimenu>Invert selection in item list</guimenu>
^
index.docbook:598: element para: validity error : No declaration for element para
items matching the search string will removed from the current selection.</para>
^
index.docbook:598: element listitem: validity error : No declaration for element listitem
hing the search string will removed from the current selection.</para></listitem
^
index.docbook:600: element guimenu: validity error : No declaration for element guimenu
<para><guimenu>Regular expression</guimenu></para>
^
index.docbook:600: element para: validity error : No declaration for element para
<para><guimenu>Regular expression</guimenu></para>
^
index.docbook:601: element ulink: validity error : No declaration for attribute url of element ulink
ular expression. It can be edited in <ulink url="help:/KRegExpEditor/index.html"
^
index.docbook:601: element ulink: validity error : No declaration for element ulink
It can be edited in <ulink url="help:/KRegExpEditor/index.html">KRegExp</ulink>
^
index.docbook:601: element para: validity error : No declaration for element para
ink url="help:/KRegExpEditor/index.html">KRegExp</ulink>, when available.</para>
^
index.docbook:601: element listitem: validity error : No declaration for element listitem
elp:/KRegExpEditor/index.html">KRegExp</ulink>, when available.</para></listitem
^
index.docbook:602: element itemizedlist: validity error : No declaration for element itemizedlist
</itemizedlist>
^
index.docbook:605: element chapter: validity error : No declaration for element chapter
</chapter>
^
index.docbook:608: element chapter: validity error : No declaration for attribute id of element chapter
<chapter id="credits">
^
index.docbook:610: element title: validity error : No declaration for element title
<title>Credits and License</title>
^
index.docbook:613: element application: validity error : No declaration for element application
&GwenRename;
^
index.docbook:614: element para: validity error : No declaration for element para
</para>
^
index.docbook:616: element email: validity error : No declaration for element email
Program copyright 2003, 2009 Spiros Georgaras <email>sng@hellug.gr</email>
^
index.docbook:617: element para: validity error : No declaration for element para
</para>
^
index.docbook:621: element para: validity error : No declaration for element para
<listitem><para>Aurelien Gateau</para></listitem>
^
index.docbook:621: element listitem: validity error : No declaration for element listitem
<listitem><para>Aurelien Gateau</para></listitem>
^
index.docbook:622: element para: validity error : No declaration for element para
<listitem><para>Jan Schubert</para></listitem>
^
index.docbook:622: element listitem: validity error : No declaration for element listitem
<listitem><para>Jan Schubert</para></listitem>
^
index.docbook:623: element para: validity error : No declaration for element para
<listitem><para>Charles Barcza</para></listitem>
^
index.docbook:623: element listitem: validity error : No declaration for element listitem
<listitem><para>Charles Barcza</para></listitem>
^
index.docbook:624: element para: validity error : No declaration for element para
<listitem><para>Sidlovsky Yaroslav</para></listitem>
^
index.docbook:624: element listitem: validity error : No declaration for element listitem
<listitem><para>Sidlovsky Yaroslav</para></listitem>
^
index.docbook:625: element para: validity error : No declaration for element para
<listitem><para>Gerardo Bueno</para></listitem>
^
index.docbook:625: element listitem: validity error : No declaration for element listitem
<listitem><para>Gerardo Bueno</para></listitem>
^
index.docbook:626: element para: validity error : No declaration for element para
<listitem><para>Gunther Zilz</para></listitem>
^
index.docbook:626: element listitem: validity error : No declaration for element listitem
<listitem><para>Gunther Zilz</para></listitem>
^
index.docbook:627: element para: validity error : No declaration for element para
<listitem><para>John Bee</para></listitem>
^
index.docbook:627: element listitem: validity error : No declaration for element listitem
<listitem><para>John Bee</para></listitem>
^
index.docbook:628: element itemizedlist: validity error : No declaration for element itemizedlist
</itemizedlist>
^
index.docbook:629: element para: validity error : No declaration for element para
</para>
^
index.docbook:632: element email: validity error : No declaration for element email
Documentation copyright 2009 Spiros Georgaras <email>sng@hellug.gr</email>
^
index.docbook:633: element para: validity error : No declaration for element para
</para>
^
index.docbook:636: parser error : Entity 'underFDL' not defined
&underFDL; <!-- FDL: do not remove -->
^
index.docbook:638: parser error : Entity 'underGPL' not defined
&underGPL; <!-- GPL License -->
^
index.docbook:640: element chapter: validity error : No declaration for element chapter
</chapter>
^
index.docbook:644: element appendix: validity error : No declaration for attribute id of element appendix
<appendix id="installation">
^
index.docbook:645: element title: validity error : No declaration for element title
<title>Installation</title>
^
index.docbook:647: element sect1: validity error : No declaration for attribute id of element sect1
<sect1 id="getting-GwenRename">
^
index.docbook:648: element title: validity error : No declaration for element title
<title>How to obtain GwenRename</title>
^
index.docbook:655: element ulink: validity error : No declaration for attribute url of element ulink
he GwenRename <ulink url="http://members.hellug.gr/sng/gwenrename/download.html"
^
index.docbook:655: element ulink: validity error : No declaration for element ulink
rl="http://members.hellug.gr/sng/gwenrename/download.html">download page</ulink>
^
index.docbook:656: element ulink: validity error : No declaration for attribute url of element ulink
url="http://www.kde-apps.org/content/show.php?content=11844">KDE apps</ulink> pa
^
index.docbook:656: element ulink: validity error : No declaration for element ulink
url="http://www.kde-apps.org/content/show.php?content=11844">KDE apps</ulink> pa
^
index.docbook:657: element para: validity error : No declaration for element para
</para>
^
index.docbook:660: element ulink: validity error : No declaration for attribute url of element ulink
url="http://www.kde-apps.org/content/show.php?content=11844">KDE apps</ulink>.
^
index.docbook:660: element ulink: validity error : No declaration for element ulink
url="http://www.kde-apps.org/content/show.php?content=11844">KDE apps</ulink>.
^
index.docbook:661: element para: validity error : No declaration for element para
</para>
^
index.docbook:662: element sect1: validity error : No declaration for element sect1
</sect1>
^
index.docbook:664: element sect1: validity error : No declaration for attribute id of element sect1
<sect1 id="requirements">
^
index.docbook:665: element title: validity error : No declaration for element title
<title>Requirements</title>
^
index.docbook:668: parser error : Entity 'kde' not defined
In order to successfully use GwenRename, you need &kde; 4.x.
^
index.docbook:669: element para: validity error : No declaration for element para
</para>
^
index.docbook:671: element sect1: validity error : No declaration for element sect1
</sect1>
^
index.docbook:673: element sect1: validity error : No declaration for attribute id of element sect1
<sect1 id="compilation">
^
index.docbook:674: element title: validity error : No declaration for element title
<title>Compilation and Installation</title>
^
index.docbook:676: parser error : Entity 'install.compile.documentation' not defined
&install.compile.documentation;
^
index.docbook:678: element sect1: validity error : No declaration for element sect1
</sect1>
^
index.docbook:680: element appendix: validity error : No declaration for element appendix
</appendix>
^
index.docbook:682: parser error : Entity 'documentation.index' not defined
&documentation.index;
^
index.docbook:683: element book: validity error : No declaration for element book
</book>
^
make[2]: *** [doc/index.cache.bz2] Erreur 1
make[1]: *** [doc/CMakeFiles/doc-handbook.dir/all] Erreur 2
make: *** [all] Erreur 2
[quote]

Sure it doesn't lack dependency ???

Report

C

spiros2907

8 years ago

Hi Droopy159

Sorry for the late answer; I was waiting for 4.6.4 to be uploaded in debian sid...

I can reproduce the error in 4.6.4, although this id not a dependency problem, it's just that the XLS version changed and this caused confusion

Anyways, I managed to compile by changing
DTD DocBook XML V4.1.2-Based
to
DTD DocBook XML V4.2-Based
in doc/index.docbook (line 2)

Hope this works for you too and thank you for reporting this error

Spiros

Report

Droopy159

8 years ago

I modified the file you specified. Now it compiles and works perfectly. Thanks a lot

Report

cyberbeat

9 years ago

Could you please fix profiles saving? In a new gwenrename session all my saved profiles are lost.

Report

C

spiros2907

9 years ago

Hi again cyberbeat

Can you please apply the fix-save-profiles.diff patch and report the outcome here?
In order to apply it, copy it in src/, and execute the command:

patch -p0 < fix-save-profiles.diff

Report

cyberbeat

9 years ago

thanks, works now.

Report

cyberbeat

9 years ago

I cannot compile it:

..
..
[ 0%] Generating bg.gmo
[ 0%] Generating tr.gmo
[ 56%] Built target pofiles
index.docbook:8: warning: failed to load external entity "dtd/kdex.dtd"
]>
^
index.docbook:10: parser error : Entity 'language' not defined
<book lang="&language;">
^
index.docbook:10: element book: validity error : No declaration for attribute lang of element book
<book lang="&language;">
..
..

Did you miss declaring a dependency in CMakeLists.txt?

Report

C

spiros2907

9 years ago

Hi cyberbeat
Sorry it took me so long to reply...

> Did you miss declaring a dependency in CMakeLists.txt?

No, I don't think so...
It works great here (compiled with newly installed kde 4.4.5 on sidux - debian sid)

Report

M3t4linux

10 years ago

Hello!!

I've installed your gwenrename app but here the message box it appears after put a directory

"The program could not find some icons that are necessary for its execution. Please check your installation"

After clicking on "Ok", appr launch but it missing icons

Report

C

spiros2907

10 years ago

I am sorry to hear that...

Can you please provide the following info (execute the commands)?

echo "$KDEDIRS"

kde4-config --prefix

find `kde4-config --prefix`/share/icons/hicolor/ -name "gwenr*"

ls `kde4-config --prefix`/share/kde4/apps/gwenrename/icons/hicolor/16x16/actions

PS. Feel free to contact me by email

Report

C

spiros2907

10 years ago

Problem solved

KDEDIRS was empty so the icons were installed under /share/... instead of /usr/share/... or /opt/kde/share/... and such. Using the following command solved the problem:

cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=debugfull ..

Report

C

spiros2907

10 years ago

Unfortunatelly, gwenrename cannot be used by gwenview anymore, because:
- gwenview v. 1.4 is a kde3 app but gwenrename is now a kde4 app, so the paths have changed - the desktop file is in the wrong directory. (but it could be copied there...)
- gwenview v. 2 (kde4) does not use external tools any more - this feature has not been ported yet. So we'll just have to wait on this one :)

The good news is that we can use gwenrename from Konqueror and Dolphin!!!

Report

echoes

11 years ago

do you plan to port this app to qt4/kde4 spiros2907?

Report

C

spiros2907

11 years ago

The short answer is: yes I do :)

The longer answer is that it'll be done after i start using KDE4; and I'm affraid I'm not convinced it can replace KDE 3.5.9 yet...

Report

daphreak

11 years ago

Hi !

Thanks for gwenrename. As a Beta-version, it works quite good and is a really handy application.

However, there's one problem: I have tried it on a laptop with a screen resolution of 1024x768. The gwenrename windows is too big in vertical size, the OK button is under the panel. My solution is to set the windows as "keep above others", but this isn't very elegant.

Maybe you should redesign the interface of gwenrename to fit smaller screen resolutions. On big screens it works very good, so it shouldn't be changed too much. Maybe lowering the minimum hieght of the file-list would help, at least for 1024x768 screens.

Report

C

spiros2907

11 years ago

Thanks for reporting. I didn't realise it got so big...

Please download the patch (gwenrename-1024x768-patch.tar.gz), extract it in gwenrename-1.1-beta4, and execute the commands (instructions are included in the tar.gz file):

patch -b -p0 < gwenrename-1024x768.diff
make clean
make

Then install as usual, for example:
su -c 'make install'

This is a (hopefully) temporary solution until I figure out something more elegant...

Report

daphreak

11 years ago

The patch works, thanks !

Report

benjaminisant

11 years ago

A feature I miss with krename or any other renaming tool is a way to massively edit file embedded metadata for formats that support it (mp3, jpeg ...).

It would be really cool to be able to change not to only the title but also exif metadata. Will it be able to ?

Note Reading exif metadata like the shot time would also let the user sort pictures from several cameras (with different naming scheme) in the right chronologic order before renaming them all.=> very usefull when collecting all the pictures after a mariage ;)

Report

C

spiros2907

11 years ago

I do not think that metadata editing is what a renaming tool should do, so I don't think this is likely to happen

What might happen is sorting by data/time. Then metadata could be used (when exist). But this is something for a future release...

Report

Kwellmeister

11 years ago

<br>
It's a great and very usefull app -
so I made a package for debian unstable (aka "sid") with Qt: 3.3.8b / KDE: 3.5.9

You can pick it up here:

http://harrys-home.gmxhome.de/gwenrename_1.1-beta4-1_i386.deb

Report

C

spiros2907

11 years ago

Than you very much for the package. I will update links asap

Report

Kwellmeister

11 years ago

<br>
It's a great and very usefull app -
so I made a package for debian unstable (aka "sid") with Qt: 3.3.8b / KDE: 3.5.9

You can pick it up here:

http://harrys-home.gmxhome.de/gwenrename_1.1-beta4-1_i386.deb

Report

OpenSourceFan

12 years ago

Hi spiros2907.
GwenRename is my favourite app, because I'm amateur photographer and I'm renaming every photo with your utility.

There is only 1 feature I miss: Sorting by date (time). Because, when I'd like to rename photos from different cameras (they 've got different names), I have to sort them manualy.

Thank you for this excellent utility!

Report

C

spiros2907

12 years ago

I am glad you find GwenRenamet so useful

Sorting by date (time) seems like an interesting feature. I will have it in mind for a future release.

Thanks for the comment

Report

cyb3rj

12 years ago

... what do you think the level of effort would be to add into this features like in this renaming utility (windows only :( )

http://www.mediachance.com/free/renamer.htm

The think I really like with this is the ability to essentially edit the file names in a "text editor" sort of format, and then have it just go do it.

Thanks for all the work on this tool! I've used it and appreciate it.

Report

9 years ago

GwenRename 1.1-beta7:
=====================
- Fixed EXIF manipulation crash

GwenRename 1.1-beta6:
=====================
- Fixed corrupted po files
- Added Czech (cs) translation, by Pavel Fric
- No changes to the source code

GwenRename 1.1-beta5:
=====================
- ported to KDE4!!!
- Visual ON/OFF switches have been added, so that options can be displayed/hidden. This makes more room for the items list (useful in lower screen resolution)
- When screen size is less than 800px, one of the ON/OFF switches will always be off, so that the program window can fit the screen
- Fixed the list invertion function
- Fixed the compound expressions read/write procedure. Thanks to John Bee
- Fixed compound expressions activation on program startup. Thanks to John Bee
- Fixed a bug in the list item removal procedure that could lead to a crush when various filename lengths are present

GwenRename 1.1-beta4:
=====================
- GwenRename can now be executed without parameters. In this case the user will have to select the folder cotaining the files to be renamed, through the "Folder selection" dialog
- A mode selection dialog was added. It will be presented to the user, when a single folder is passed to GwenRename
- Files/folders can now be added/removed from the list of items that will be renamed, from within the program, using the ListView context menu
- Started writing the user manual. Added help to the program dialogs
- Layout changes
- Many more minor changes

GwenRename 1.1-beta3:
=====================
- Ability to convert underscore/dash to space
- Use and manage compound extensions
- Layout changes
- Added icons to eliminate the icon installation problem. Thanks to Gunther Zilz
- Added a link to a Mandriva 2007.1 rpm by Gerardo Bueno (gejobj@gmail.com). For bug reports regarding this rpm please contact its packager

GwenRename 1.1-beta2:
=====================
Packagers bug fix release

- Fixed a icons installation bug reported by Gerardo Bueno, that would cause conflicts with package gwenview. No ghanges were made to the code

This bug affects packagers only, so if you installed from source, it won't interest you.
If you are a packager, please update to this release in order to provide consistent packages for your distro.
I am really sorry for the inconvenience

- Updated the link to the Mandriva 2007.1 rpm by Gerardo Bueno. For bug reports regarding this rpm please contact its packager

GwenRename 1.1-beta1.1:
======================
- Added Spanish (es) translation by Gerardo Bueno. No changes were made to the code
- Added a link to a Mandriva 2007.1 rpm by Gerardo Bueno (gejobj@gmail.com). For bug reports regarding this rpm please contact its packager

GwenRename 1.1-beta1:
====================
- Added the ability to convert spaces to underscore/dash

This is the first release of a series of beta releases, until I implement all the features
I want to add to version 1.1. These features are:
- Ability to convert spaces to underscore/dash - added to the current release
- Ability to add/remove files to the list of files to be renamed
- Ability to select and use part of the original filename for renaming

Each beta release will implement one of these features, and will be released only after it
has been thoroughly tested. So each beta release can be considered stable but not "fully featured"

12345678910
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
Tscheesy
Apr 26 2010
biboka
Mar 23 2010
M3t4linux
Sep 21 2009
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
1.1-beta7
updated Apr 15 2010
added Apr 07 2004
downloads 24h
0
mediaviews 24h 0
pageviews 24h 1
System Tags app software