The script will
- Convert all ARW files to DNG for compatibility (Apple does not support the 7C II yet and I prefer DNG anyway)
- Sort the new DNGs into a YYYY/MM/DD based folder structure (and set creation date)
- Rename *.HIF to *.heic so the pictures are correctly rotated when imported into Apple Photos
- Move the original files to your Trash
It will not
- Autoimport to Apple Photos. Scripting with AppleScript or Shortcuts could be an option, but this is fine.
- Erase the easter eggs from your DVDs
- https://fishshell.com
- https://github.com/ali-rantakari/trash
- https://helpx.adobe.com/camera-raw/using/adobe-dng-converter.html
Put all .fish
files in `~/.config/fish/functions
- Insert SD card. It should contain a
DCIM
folder at its root level. - Run
archive-photos
from Terminal. - Open Apple Photos to import the HEIC files