Skip to content

Instantly share code, notes, and snippets.

@DKunin
Last active February 8, 2017 06:57
Show Gist options
  • Save DKunin/92bfdf05957d6057aed998bfce8ea793 to your computer and use it in GitHub Desktop.
Save DKunin/92bfdf05957d6057aed998bfce8ea793 to your computer and use it in GitHub Desktop.
Download photos with gphoto
#!/bin/bash
mkdir ~/Downloads/$(date +%d-%m-%Y)
cd ~/Downloads/$(date +%d-%m-%Y)
gphoto2 -P
osascript -e 'display notification "Загрузка фотографий в папку '$(date +%d-%m-%Y)' завершена" with title "Фотографии сохранены"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment