view rename-photos @ 11:d45ad0c070de

Change renaming of photos to use EXIF tool and metadata for dates
author IBBoard <dev@ibboard.co.uk>
date Wed, 31 Aug 2016 17:20:43 +0100
parents 094d86b01003
children
line wrap: on
line source

#! /bin/bash

exiftool "-FileName<CreateDate" -d "Y%Y_%m_%d_%%f.%%e" DSC_*.JPG SAM_*.JPG IMG_*_*.JPG PANO_*_*.JPG
rename JPG jpg *.JPG