Created
March 13, 2018 08:43
-
-
Save Alykoff/5877ccad35c44d79f1cc56b8b5b20ca5 to your computer and use it in GitHub Desktop.
today.sh
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
#!/bin/bash | |
today=`date "+%Y.%m.%d"` | |
name=log_$today.yml | |
touch $name | |
ln -sf $name current.yml | |
echo -e "date: `date`" >> $name | |
echo -e "description: |\n" >> $name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment