<p>Toshiba Satellite L455-S5000<br />
<a href="https://www.ifixit.com/Device/Toshiba_Satellite_L455-S5975" class="uri">https://www.ifixit.com/Device/Toshiba_Satellite_L455-S5975</a></p>
<p>The script!</p>
<pre><code>#!/bin/bash

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

# 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</code></pre>
