Print this page

Image manipulation

Exif Renaming

Found on Pario's TechnoBlob
This rename trick uses exiv2. Rename all image files in current folder to the format YYYYMMDDHHMM_Filename.EXT

Linux

exiv2 -r'%Y%m%d-%H%M_:basename:' rename $(ls)

Result
Now my image files have names like

20071022-1202_DSC_9727.JPG

Resizing

Using ImageMagick's feature mogrify:

  mogrify -resize 1024 *.jpg

 


Previous page: Linux timeline