(2013-04-03)
Echo the date in ISO format:
# date '+%Y-%m-%d'
2013-04-03
(This is one of those stupid things I should remember but never do.)
Bash alias:
alias today='export TODAY=`date +%Y-%m-%d` ; echo $TODAY'
Now you can do stupid tricks like
$ mkdir ~/tmp/`today`
$ cd ~/tmp/$TODAY
Update:or you can just do
which is short enough to use inline: