Site Map - skip to main content

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.

hpr3512 :: Auld Acquaintance

flappin gums aboot auld hardware and how I use it.

<< First, < Previous, , Latest >>

Hosted by Jezra on 2022-01-18 is flagged as Clean and is released under a CC-BY-SA license.
auld hardware, photography. (Be the first).

Listen in ogg, spx, or mp3 format. Play now:

Duration: 00:10:59


Toshiba Satellite L455-S5000

The script!


# target dir is ~/Photos/YYYY-MM-DD_Hm
targetDir="/home/$USER/Photos/$(date +"%F_%H%M")"

# create the dir
mkdir $targetDir

# cd to dir
cd $targetDir

# kill all gphoto stuff
pkill -f gphoto2

# get the files
gphoto2 --get-all-files

# delete all files on camera recursively
gphoto2 -DR


Subscribe to the comments RSS feed.

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Anti Spam Question: What does the P in HPR stand for ?