aklinkert / go-sync-deleted-raw-jpg

Delete RAW images after JPGs were sorted

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-sync-deleted-raw-jpg

This project deletes RAW images after JPGs have been sorted out, as sorting JPGs is much faster then with RAW files, at least in MAC OSX Finder. So my image editing process is as follows:

  • Shoot both RAW and JPG images
  • Split RAW and JPG images into a JPG and a RAW directory (even though I'm a sony user, so the raw images do have an ARW file extension)
  • Sort JPGs, delete crappy images
  • run this tool to delete the RAW files from which I deleted the JPGs

Splitting RAW and JPG files

I use the following Bash function to separate the files before cleaning up:

function split-images-raw {
	mkdir JPG RAW
	mv *.JPG JPG/
	 mv *ARW RAW/
}

License

MIT License

Copyright (c) 2020 Alex Klinkert

About

Delete RAW images after JPGs were sorted

License:MIT License


Languages

Language:Go 100.0%