Select files with same name but different extension

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Terka
Senior Member
Senior Member
Posts: 326
Joined: 2006-05-24, 09:04 UTC

Select files with same name but different extension

Post by *Terka »

When i photograph to raw and jpg my files are duplicated with both raw and jpg quality.
eg.:

file1.jpg
file1.nef

file2.jpg
file2.nef

how to select all the *.nef where exists a sibling with same name (and extension *.jpg)

I thought that in selection window something like *.nef >*.jpg was working for me in the past.
But not working now (version 9.5)
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Select files with same name but different extension

Post by *Hacker »

Terka,
TC Help File wrote:You can also select related files. For example, you would want to select all RAW image files (.cr2), but only if there is a jpg file in the same directory. This can be done with the following selection string:
*.jpg>*.cr2
This also supports more complex naming schemes. For example, if the jpg file is named IMG_1057.JPG and the raw file CRW_1057.CR2, the selection string would have to be:
*.jpg>crw*.cr2
This selects both jpg and cr2 files, though. If you only need one of those extensions, you will need to unselect it using Alt-Num-.

HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Terka
Senior Member
Senior Member
Posts: 326
Joined: 2006-05-24, 09:04 UTC

Re: Select files with same name but different extension

Post by *Terka »

thank you Roman,
i could not find it in TC Help.
regarding the selection, i had it in wrong oder, *.jpg >*.nef is correct
(alt-num- is what i use all the time)
Post Reply