Mercurial > repos > other > usr-local-bin
changeset 7:094d86b01003
Rename all DSC pics, underscore or not
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 08 Aug 2015 21:05:13 +0100 |
parents | 7c8b5c5f0fb7 |
children | 97325fd582d8 |
files | rename-photos |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rename-photos Sat Aug 08 21:04:10 2015 +0100 +++ b/rename-photos Sat Aug 08 21:05:13 2015 +0100 @@ -3,7 +3,7 @@ DATE_PREFIX=$(date +Y%Y_%m) rename SAM_ ${DATE_PREFIX}_SAM_ SAM_*.JPG -rename DSC_ ${DATE_PREFIX}_DSC_ DSC_*.JPG +rename DSC ${DATE_PREFIX}_DSC DSC*.JPG rename IMG_ ${DATE_PREFIX}_IMG_ IMG_*_*.JPG rename PANO_ ${DATE_PREFIX}_PANO_ PANO_*_*.JPG rename JPG jpg ${DATE_PREFIX}*.JPG