Skip to content

Instantly share code, notes, and snippets.

@jesse-c
Created January 25, 2020 13:45
Show Gist options
  • Save jesse-c/1e5d3407912b6bbc553baf485d46f846 to your computer and use it in GitHub Desktop.
Save jesse-c/1e5d3407912b6bbc553baf485d46f846 to your computer and use it in GitHub Desktop.
Create a log entry for today
#!/bin/sh
mkdir -p ~/Documents/log/$(date +"%Y")/$(date +"%m")
echo "\n\n---\n\n" > ~/Documents/log/$(date +"%Y")/$(date +"%m")/$(date +"%y-%m-%d").txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment