Txt

Byte sized tech know-how.

  • Home
  • About

Tag Archives: exif

10 Oct

Rename Images Based on Exif Date

Renames all the files in the current folder based on the Exif date of that image. You’ll need the ‘jhead’ command tool – use apt-get to install it.


for i in *; do mv i "(jhead i | grep date | sed 's/^File date[^:]\+: \(.\+\):\(.\+\):\(.\+\) .*/\1-\2-\3/') $i"; done
admin Posted in Command Line command, date, exif, image, rename 1 Comment

Post navigation

Categories

  • Code
  • Command Line
  • Configuration
  • CSS
  • HTML
  • internet
  • JavaScript
  • Linux
  • Mobile
  • Perl
  • PHP
  • Python
  • Ruby
  • Uncategorized

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Fruitful theme by fruitfulcode Powered by: WordPress
↑