4DOS (DESCRIPT.ION) text lost during rename

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
spikey
Member
Member
Posts: 123
Joined: 2005-07-20, 08:37 UTC

4DOS (DESCRIPT.ION) text lost during rename

Post by *spikey »

I have several sets of photos with names like this and I want to delete everything after ".jpg".

DCIM_029045.jpg (1_2) [861K]

I use "Search & Replace" in the Multi Rename Tool. I select regex and use this expression to identify the part I don't want.

\(.+

The problem is this removes the DESCRIPT.ION (4DOS) text. Other rename operations preserve the descritption text , so the settings are probably correct.

Is this a bug in TC?
User avatar
Stiltzkin
Member
Member
Posts: 196
Joined: 2004-09-10, 17:15 UTC

Re: 4DOS (DESCRIPT.ION) text lost during rename

Post by *Stiltzkin »

just add a space in front of your regex and you will be fine.
use this regex:

Code: Select all

\s\(.+
otherwise your descript.ion will look like this (notice the space after the.jpg):

Code: Select all

"DCIM_029045.jpg " comment123
windows doesn't allow spaces after filenames.
User avatar
spikey
Member
Member
Posts: 123
Joined: 2005-07-20, 08:37 UTC

Re: 4DOS (DESCRIPT.ION) text lost during rename

Post by *spikey »

That works well. Thank you.

Do you know why TC doesn't show the uncorrected extension name beyond the first 3 characters. For example,
DCIM_029045.jpg (1_2) [861K]
appears in the TC pane as
DCIM_029045.jpg
On the other hand, the full name does get displayed in the Multi Rename Tool.
Post Reply