: bharatvaj/scripts

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
#!/bin/sh

# Prints out when a file was created using exiftool
when ()
{
    for i in *;
    do
        echo -n "$i";
        exiftool "$i" | grep "Create Date" | head -n 1
		echo ""
    done
}

# Usage
# when | sed '/^$/d'