Tsk, passing unchecked data ($0) to strftime ... shame! What if somebody creates a symlink to the script, and that symlink's name contains a "%"; or what if there's a "%" in the path leading to the script? Then strftime is gonna get Really Mad, that's what.