renaming

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

renaming

Andreas T. Ege
Hi there,

is there a way to batch-rename images so that the raw and jpg or png
keep the same name in front of the extension?
E.g.:
  01.dng    --> name01.dng
01.jpg      --> name01.jpg
02.dng   --> name02.dng
02.jpg   --> name02.jpg

If I use the normal rename it just renames the pictures in the order
they are sorted by.
(01.dng    --> name01.dng
01.jpg      --> name02.jpg
02.dng   --> name03.dng
02.jpg   --> name04.jpg)

--
Sincerely,

Andreas T. Ege
Dr. med. vet., MRCVS, MABVA

                24 The Birches
                 Shobdon
                 Herefordshire HR6 9NG
                 GB
                 Mobile: +44.(0)7526.315292
                 Tel.: +44.(0)1568.709166
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: renaming

jag59
Andreas T. Ege wrote
Hi there,

is there a way to batch-rename images so that the raw and jpg or png
keep the same name in front of the extension?
E.g.:
  01.dng    --> name01.dng
01.jpg      --> name01.jpg
02.dng   --> name02.dng
02.jpg   --> name02.jpg

If I use the normal rename it just renames the pictures in the order
they are sorted by.
(01.dng    --> name01.dng
01.jpg      --> name02.jpg
02.dng   --> name03.dng
02.jpg   --> name04.jpg)

--
Sincerely,

Andreas T. Ege
Dr. med. vet., MRCVS, MABVA

                24 The Birches
                 Shobdon
                 Herefordshire HR6 9NG
                 GB
                 Mobile: +44.(0)7526.315292
                 Tel.: +44.(0)1568.709166
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
XnView MP has that option. The option is 'rename alternate image' or 'rename with 1 step',I don't remember the exact wording now. XnView MP was available in PCLinuxOS,but now I am using Mint9 as my Wacom Bamboo CTH was not working in PCLinuxOS. I don't know which distro you are using but you can install the Window's version in Wine if you want.
Jagdeesh Deshpande.
Registered Linux user #492893
Reply | Threaded
Open this post in threaded view
|

Re: renaming

Francis Corvin
In reply to this post by Andreas T. Ege
At 2011-06-08 17:21, Andreas T. Ege wrote:
>Hi there,
>
>is there a way to batch-rename images so that the raw and jpg or png
>keep the same name in front of the extension?
>E.g.:
>   01.dng    --> name01.dng
>01.jpg      --> name01.jpg
>02.dng   --> name02.dng
>02.jpg   --> name02.jpg

It looks like you are simply adding a string in front of the existing
name. Why not simply use a shell/DOS script? That's what they are for, IMHO.

Francis

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: renaming

Bugzilla from rogersjd@gmail.com
On Fri, Jun 10, 2011 at 5:01 PM, Francis Corvin <[hidden email]> wrote:

> At 2011-06-08 17:21, Andreas T. Ege wrote:
>>Hi there,
>>
>>is there a way to batch-rename images so that the raw and jpg or png
>>keep the same name in front of the extension?
>>E.g.:
>>   01.dng    --> name01.dng
>>01.jpg      --> name01.jpg
>>02.dng   --> name02.dng
>>02.jpg   --> name02.jpg
>

I do this all time, most recently a few minutes ago. You probably have
your rename string set to something like "name#" so it uses the name
and appends the a numerical sequence to every photo regardless of
extension. Instead, try "name[file]" as the rename string. The
original filename will be used and the "name" part will just be
prepended.

Best,
JDR

> It looks like you are simply adding a string in front of the existing
> name. Why not simply use a shell/DOS script? That's what they are for, IMHO.
>
> Francis
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: renaming

AT Ege
In reply to this post by Francis Corvin
Hi Francis,

> It looks like you are simply adding a string in front of the existing
> name. Why not simply use a shell/DOS script? That's what they are for, IMHO.
>
That was just for the ease of the example and to make it easier to make
my point. The camera names the images like IMG0908.JPG and IMG0908.DNG
(I usually shoot dual dng and jpg). The renames vary, usually either the
date the shot was done, or like for holidays where we were, turning them
to something like Nepal001.JPG and Nepal001.DNG.
I certainly have thought about learning more about shell programming,
but time is always short and there are so much more things I like to do
with it, I never really came around to do it. So for me 'simply' using a
shell script is only simple if I find a finished one. ;-)
And it would be easier to integrate it in my digikam workflow.

> Francis
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>

--
Schöne Grüße,

Andreas

                24 The Birches
                 Shobdon
                 Herefordshire HR6 9NG
                 GB
                 Mobile: +44.(0)7526.315292
                 Tel.: +44.(0)1568.709166
                 http://spheniscid.net

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: renaming

AT Ege
In reply to this post by jag59
Hi Jagdeesh,

> XnView MP has that option. The option is 'rename alternate image' or 'rename
> with 1 step',I don't remember the exact wording now. XnView MP was available
> in PCLinuxOS,but now I am using Mint9 as my Wacom Bamboo CTH was not working
> in PCLinuxOS. I don't know which distro you are using but you can install
> the Window's version in Wine if you want.
>
I'm using Kubuntu. A quick search (aptitude and google) didn't give me a
package, and I'd rather prefer to keep it in digikam. But thank you for
the input.

--
Sincerely,

Andreas T. Ege
Dr. med. vet., MRCVS, MABVA

                24 The Birches
                 Shobdon
                 Herefordshire HR6 9NG
                 GB
                 Mobile: +44.(0)7526.315292
                 Tel.: +44.(0)1568.709166
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: renaming

AT Ege
In reply to this post by Bugzilla from rogersjd@gmail.com
Hi JDR,

> I do this all time, most recently a few minutes ago. You probably have
> your rename string set to something like "name#" so it uses the name
> and appends the a numerical sequence to every photo regardless of
> extension. Instead, try "name[file]" as the rename string. The
> original filename will be used and the "name" part will just be
> prepended.
>
I'll give it a try later. What I do at the moment looks like this:
newname-##.[ext], as I usually don't want to keep the old name. But for
the sake of speed it might well be worth it.

> Best,
> JDR
>

--
Andreas Ege

                24 The Birches
                 Shobdon
                 Herefordshire HR6 9NG
                 GB
                 Mobile: +44.(0)7526.315292
                 Tel.: +44.(0)1568.709166
                 http://spheniscid.net
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users