Skip to content

Instantly share code, notes, and snippets.

@mhairston
Created December 21, 2015 19:58
Show Gist options
  • Save mhairston/a4fb04b7160bad40db8b to your computer and use it in GitHub Desktop.
Save mhairston/a4fb04b7160bad40db8b to your computer and use it in GitHub Desktop.
Preferred date format
#!/bin/sh
DATE="`date +%Y%m%d"-"%H%M`"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment