For some reason when I execute the following command:
mkdir $(date +%m-%d-%Y-%l%M%p)
…it create 2 directories. One with today’s date plus a dash at the end, and another directory which is using the time as it’s name. So lets say if on april 1st, 2011 at 1:14PM I execute that command, it will create a directory called “04-01-2011-” and another directory called 114PM.
My goal was to have it create only one directory named “04-01-2011-114PM”