RSSAll Entries Tagged With: "date"

Create a Directory from the Current Date

Create an alias to create a directory from the current date. This isn’t news, but is quite useful.

alias mkdd='mkdir $(date +%Y%m%d)'

Obviously, if you just want to create the director you could just use the command:

mkdir $(date +%Y%m%d

I’m not teaching granny to suck eggs here – I just want to make sure it’s clear.