Sam's notebook

Rename and move images according to date September 12th, 2013, 4PM

Programming

My simple import-images.sh script that I use to shift files into my (ownCloud-backed) archiving system: #!/bin/bash if [ ! -d “$1” ]; then echo “Error: first parameter must be a directory” >&2 echo “Usage: “$(basename $0)” ” echo ” where is an existing directory from which to import images” exit 1 fi DEST=$HOME/photos exiftool ‘-FileName

[No comments] [Keywords: , , , , , ] [Permanent link]