Automating DNG conversion to save space on a photo server

JPEG and camera raw files can be copied automatically from a card reader into organized folders on a NAS. Keeping years of raw files consumes substantial storage, but converting them to DNG can greatly reduce their size while preserving much of the photo data.

Adobe DNG Converter provides effective , but its graphical interface makes repeated work cumbersome. Its was not suitable for a continuously and isolated desktop workflow.

Existing Docker projects that ran the Windows converter through Wine on Linux were too old to support newer camera profiles. A new was therefore built around a newer Adobe DNG Converter executable.

Key points

  • Copy JPEG and raw files automatically from a card reader to a NAS.
  • Convert old raw files to DNG instead of deleting them.
  • Use an environment to avoid repeated work in a graphical interface.
  • Build a newer when existing projects lack current camera profiles.
  • Use Wine to run Adobe's Windows converter on Linux.
Read original