As I have written in another post, I am a fan of the Embedded and Sidecar Preview workflow, and it means that with my Fuji X-T2 I shoot Raw+JPEG to allow LR to quickly get full resolution previews from the sidecar JPEGs. But once I have reviewed the pictures I no longer need the JPEGs for any purpose, and they use up storage space, so for a couple of years I have been using this little Delete sidecar JPEGs script.
It loops through selected raw files, looks in the Explorer/Finder folder for JPEG with matching names, and deletes any it finds. Other JPEGs, for example ones which you shot on the phone, are ignored.

Two little details:

  • The script can’t tell Lightroom that the JPEG has gone, so you’ll still see RAW+JPEG on thumbnails. You can get rid of this by either:
    • doing a Folder > Synchronize
    • running batch rename
  • As far as I can tell, once LR has built its own previews from the sidecar files, there is no longer any role for the JPEGs. So if you do import with the Embedded and Sidecar Preview option, you can delete the JPEGs immediately afterwards.

It’s free and therefore not supported.

Installation instructions are in the start of the file.