Deleting accompanying (raw) files while keeping primary (jpg) files

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, xnview

lalaka
Posts: 13
Joined: Tue Oct 10, 2006 9:27 pm

Deleting accompanying (raw) files while keeping primary (jpg) files

Post by lalaka »

I'm shooting JPG+RAW at the same time mostly and use XnView for quick browsing the images.
Raw development is done in another tool (darktable), therefore I hide raw files by configuring the raw extension to be handled as accompanying file.

I would like to address the following situation:
At some point I decide for a new set of pictures if I a) delete it completely, b) want to keep only the jpg for "documentation" but I'll never edit the picture further or c) keep jpg and raw file for editing in the future.
Deleting the complete set of files for an image as in a) works well with the hiding option.
However, a significant amount of pictures fall into the b) category and I'd like to select any number of images and then delete just the accompanying raw files.

So, I'd like to suggest an advanced delete operation which deletes only those files, keeping the shown primary files, or maybe even better, it deletes only the set of accompanying files with configurable extension(s).

What do you think?

Lars.
User avatar
xnview
Author of XnView
Posts: 37538
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Deleting accompanying (raw) files while keeping primary (jpg) files

Post by xnview »

do you have tried the 1.00 release by configuring companion files?
Pierre.
lalaka
Posts: 13
Joined: Tue Oct 10, 2006 9:27 pm

Re: Deleting accompanying (raw) files while keeping primary (jpg) files

Post by lalaka »

xnview wrote: Wed May 04, 2022 11:20 am do you have tried the 1.00 release by configuring companion files?
I did. Used 0.99.7 previously.
I noted the various bug fixes in the change log for 1.00, but I don't see how my feature request would be addressed.

However, as a workaround I wrote an external program which does the cleanup as described in my first post and configured it as external "viewer". It's even slightly more "intelligent" than XnView could, as it looks specifically for existing (darktable) edits in the xmp and only deletes raw+raw.xmp companions if no edits exist.