Created
May 4, 2014 22:46
-
-
Save anonymous/d7d713da15294987af43 to your computer and use it in GitHub Desktop.
nicedate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<<COMMENT | |
NICE DATES | |
========== | |
I frequently want to make timestamped files. | |
The 'date' command built in formats all contain spaces and | |
colons and things I don't want in a file name. | |
So it is necessary to construct something. | |
I find myself needing to do this again and again, hopefully I can | |
record this somewhere so I don't have to keep reconstructing it. | |
Date in a nice format: | |
Wanted: YYYY-MM-DD-HH-MM | |
COMMENT | |
alias nicedate='date +%Y-%m-%d-%H-%M' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment