mkogg.py: Fix 'self.get_mp4_metadata(self, source)'
[blog.git] / posts / name-by-date.mdwn
1 [[name-by-date.sh]] is a [[bash]] script to rename JPEGs to show their
2 creation date.
3
4     $ name-by-date.sh *.JPG
5     DSC_0350.JPG taken on "2010.07.02.08.36.20"
6     DSC_0356.JPG taken on "2010.07.02.08.38.10"
7     ...
8
9 `name-by-date.sh` uses the `exif` command line interface to
10 [libexif][] to extract the date from the picture's metadata, so you'll
11 have to install that first.
12
13 [libexif]: http://libexif.sourceforge.net/
14
15 [[!tag tags/bash]]
16 [[!tag tags/programming]]