[digiKam-users] DK & renaming files

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

[digiKam-users] DK & renaming files

digikam-2
DK 5.9.0 appimage

The files names from the camera are: dscf1234.raf (sRGB) I'd like to
rename it to: construction-20180623-1234.raf

I press F2 and I type: construction-[date:"yyyyMMdd"]-####[1234].

The problem is:

1. I have dozens and hundreds of files, from: dscf1234.raf to dscf6543.raf.

2. The file numbering is not continuous, so there are gaps in the
numbering. Plenty of images were not good and were deleted. The
other reason is that it's not a continuous project: a few photos of
construction, then some family photos, then some... and back to the
construction...

Is there a way of doing substrings in the rename, something like:
right(4)?


--
sknahT

vyS
Reply | Threaded
Open this post in threaded view
|

Re: DK & renaming files

Noeck

> The files names from the camera are: dscf1234.raf (sRGB) I'd like to
> rename it to: construction-20180623-1234.raf

...

> Is there a way of doing substrings in the rename, something like:
> right(4)?

In the batch processing window (lower part) in the renaming section,
there is a help button.

You can use [file]{range:4,7}

i.e.

construction-[date:"yyyyMMdd"]-[file]{range:4,7}


HTH,
Joram

Reply | Threaded
Open this post in threaded view
|

Re: DK & renaming files

digikam-2
On Sun, 24 Jun 2018 22:56:45 +0200
Noeck <[hidden email]> wrote:

> In the batch processing window (lower part) in the renaming section,
> there is a help button.
>
> You can use [file]{range:4,7}
>
> i.e.
>
> construction-[date:"yyyyMMdd"]-[file]{range:4,7}

Thank you.

1. The help button doesn't work for me. I get the error message:
Cannot load page:
https://docs.kde.org/trunk5/en/extragear-graphics/digikam/index.html

When I enter that address in my web browser, I get to the online
manual, but it doesn't work inside the digikam help.

2. the [file]{range:5,8} worked for me


--
sknahT

vyS