Skip to content

Instantly share code, notes, and snippets.

@SaundersB
Last active May 10, 2021 16:42
Show Gist options
  • Save SaundersB/574e35b23d732243f3fe0ca6afb56beb to your computer and use it in GitHub Desktop.
Save SaundersB/574e35b23d732243f3fe0ca6afb56beb to your computer and use it in GitHub Desktop.
Create Sync Up Meeting Notes Script
#!/bin/bash
YEAR=$(date +"%Y");
MONTH=$(date +"%B");
MONDAY=$(date -v-monday +"%m-%d")
FRIDAY=$(date -v+friday +"%m-%d")
THIS_WEEK_PATH="${YEAR}/${MONTH}";
THIS_WEEK_FILE_NAME="${MONDAY}_${FRIDAY}";
mkdir -p "./meeting-notes/sync-up/$THIS_WEEK_PATH/"
text="# Week of ${MONDAY} to ${FRIDAY}\\n
## Summary\\n
## Planned\\n
## Completed\\n
### Monday\\n
### Tuesday\\n
### Wednesday\\n
### Thursday\\n
### Friday\\n"
echo -ne '' "${text}" > "./meeting-notes/sync-up/$THIS_WEEK_PATH/$THIS_WEEK_FILE_NAME.md"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment