Automating some tasks with bash: coping photos from camera
I recently downloaded Ubuntu on a new pc for my family, in my quest to convince them of the usefulness of Linux, I wrote a little script for them to use when downloading photos from their cameras instead of going through the tedious process of clicking a mouse 25 times. If my attempts to actually get them into the Linux system works is another question.
To make the file an desktop shortcut was actually more effort then I thought. You have to create the following in the Desktop directory under something like Canon_Downloads.desktop and add the following to its contents
[Desktop Entry]
Name=70D_Photo_Download
Comment=Download RWFL photos from Canon 70D
Exec=bash -c ‘~/Programs/bash_scripts/GetPhotos70D.sh’
Icon=utilities-terminal
Terminal=true
Type=Application
Categories=Application
Name=70D_Photo_Download
The last think is to make sure both the bash and the .desktop is executable. To make a executable just do
And now it’s just a double click away