Pages

Thursday, October 30, 2014

rename all images in folder with prefix of date and time from exif data

$ for i in `ls` ; do date=$(identify -format %[exif:DateTime] $i); date=${date//:/-}; date=${date// /_}; mv $i ${date}__$i; done

imagemagick is required




commandlinefu.com


by David Winterbottom (codeinthehole.com)






from All commands http://ift.tt/1tlFiun

No comments:

Post a Comment