Skip to content

Instantly share code, notes, and snippets.

@kuropen
Created April 10, 2015 09:22
Show Gist options
  • Save kuropen/60b2bd10c602f8f7dd2e to your computer and use it in GitHub Desktop.
Save kuropen/60b2bd10c602f8f7dd2e to your computer and use it in GitHub Desktop.
Simplest? way to determine file name based on clock
#!/bin/bash
FILENAME=$(LANG=en date | sed 's/[ :]/_/g')
echo $FILENAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment