Hide Numbered Companion Files

Ask for help and post your question on how to use XnView MP.

Moderator: xnview

asbestosbill
Posts: 1
Joined: Wed May 20, 2026 6:06 pm

Hide Numbered Companion Files

Post by asbestosbill »

Hey, I'm trying to hide the sidecar files generated by Darktable, but it allows you to have multiple per raw file so I need a way to account for "_01" "_02" etc before the extension. I tried

Code: Select all

_##{ext}.xmp
and

Code: Select all

_{num}{ext}.xmp
jkm
Posts: 645
Joined: Sat May 11, 2024 12:43 am

Re: Hide Numbered Companion Files

Post by jkm »

Welcome to the forums...

What you're saying and what you're trying to do are two different things.

You talk about "hiding", but it looks like you're playing with the settings in Setting:File List:Companion Files.
Is that the setting you're trying to edit?

What that setting does is LINK companion files. I don't think you'll be able to do that in this case, because that naming system used by darktable is incompatible with XnViewMP. It's changing the base name (that part before the dot) and XnViewMP doesn't accept that for companion files.

If you just want to HIDE the files, which is what you actually said, that is easily done in a couple of ways.

First, you could just use the regular filter and set it to Images, and then all the non-image files (including XMP) will be hidden.

Or, you could use the Custom Filter. Set the filter to Custom, and then edit Settings:File List:Custom Filter as necessary. In your case, simply add xmp to the Exclude list, and then those xmp files will be hidden no matter what their name. The Custom filter allows you to show and hide any combination of things you want.

Hopefully this helps...