Skip to content
David Kittell
David Kittell

Application & System: Development / Integration / Orchestration

  • Services
    • Application Development
    • Online Application Integration
  • Code
  • Online Tools
  • Tech Support
David Kittell

Application & System: Development / Integration / Orchestration

Mac OSX Terminal – Convert RAW Photos to JPG

Posted on September 22, 2016 By David Kittell

If you’ve ever been stuck with a directory of .DNG or .RAW files this script will quickly convert the images for you.

Adobe Products may give a better result but seem to be one at a time still…

for i in *.dng; do sips -s format jpeg $i --out "${i%.*}.jpg"; done

Reference: https://coderwall.com/p/nhp7mq/convert-raw-photos-to-jpg-in-the-mac-os-terminal

All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested you test it and fully understand what it is doing not just what it appears it is doing. I accept no responsibility for any damage you may do with this code.

Related

Code Mac OS X Shell Mac OSX UNIX UNIX Shell Scripts

Post navigation

Previous post
Next post

Related Posts

Send Authenticated Email – Console Application

Posted on March 19, 2015October 26, 2015

Depending on your needs I would put the email settings in an app.config file rather than in the exe but for testing this will do what it needs to. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; #region Send Authenticated Email – Using List using System.Net.Mail; #endregion Send…

Read More

Read Text File Content With Try Catch

Posted on September 18, 2013October 26, 2015

Imports System.IO public class Test public Shared Sub Main Dim srReader As IO.StreamReader Dim strLine As String Dim blnDone As Boolean = False Dim strFileName As String = "test.txt" ‘Read text from a file and display it in a list box. srReader = New IO.StreamReader(strFileName) Try While Not blnDone strLine…

Read More

Ubuntu Supported Distros

Posted on November 5, 2015

cp /etc/apt/sources.list /etc/apt/sources.list-orig echo ‘deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted’ > /etc/apt/sources.list echo ‘deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted’ >> /etc/apt/sources.list echo ‘deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted’ >> /etc/apt/sources.list echo ‘deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted’ >> /etc/apt/sources.list echo ‘deb http://security.ubuntu.com/ubuntu trusty-security main restricted’ >> /etc/apt/sources.list echo ‘deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted’ >>…

Read More

Code

Top Posts & Pages

  • PowerShell - Rename Pictures to Image Taken
  • Front Page
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions

Recent Posts

  • Javascript – Digital Clock with Style
  • BASH – Web Ping Log
  • BASH – Picture / Video File Name Manipulation
  • Mac OSX Terminal – Create SSH Key
  • Bash – Rename Picture

Top Posts

  • PowerShell - Rename Pictures to Image Taken
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions
  • SQLite - Auto-Increment / Auto Generate GUID
©2025 David Kittell | WordPress Theme by SuperbThemes