%a broken in rename
There is something strange with %a handling in exiv2:
mimmi$$ exiv2 p2060012.jpg | grep timestamp Image timestamp : 2010:02:06 15:08:57 mimmi$$ exiv2 -r %Y-%m-%d-%a p2060012.jpg mimmi$$ ls 2010-02-06-Sun.jpg
But 6:th of February this year was a Saturday, not a Sunday!
It appears to be specific to exiv2. Plain date doesn't have the same problem:
mimmi$$ date +%Y-%m-%d-%a --date '2010-02-06 15:08:57' 2010-02-06-Sat
This is with exiv2 0.18.2 on a Fedora system.