Skip to content

aklinkert/go-sync-deleted-raw-jpg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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