Is it possible to filter for the RAW component of each RAW+JPEG pair in a catalog?
I'd like to delete RAW files that have already been post-processed to JPEG and are unlikely to ever get touched again. This would be a periodic filter to weed out aged RAW files. The JPEGs are retained for posterity to be returned by metadata queries against the catalog.
I'm trying to devise a workflow where PM+ exports into CaptureOne for editing, and the resultant JPEGs are exported back into the original catalog location.
From a UI perspective, PM+ appears to handle this flow quite well (i.e. it appears to detect file system events in the catalog folder and then marries them off to the corresponding RAW file). It is also possible to filter by file type which can be combined with other filter predicates (dates, rating, colors, etc).
However, I couldn't find a way to query for all RAW files for which there is a corresponding JPEG. I looked inside the DB to see how this was being stored and it seems like I could a self join on the SEARCH table matching on stemmed file names (i.e. by stripping off .NEF/.JPG). This doesn't necessarily help that much because I'd still need to issue the removal of the search results.
I also considered running an external script to achieve the same filter - I assume that after running this script, the database would require resyncing with the filesystem?
Am I missing the point?
Or do others just keep the RAW files because (1) they need to retain RAW for foreseen editing requests, or (2) it doesn't present long term storage issues after ingest culling has taken place?