|
@@ -3,24 +3,6 @@
|
|
YEAR=`date +"%Y"`
|
|
YEAR=`date +"%Y"`
|
|
|
|
|
|
|
|
|
|
-# Create the Org Health File
|
|
|
|
-if [ ! -e "${HOME}/org/health/${YEAR}.org" ] ; then
|
|
|
|
- touch "${HOME}/org/health/${YEAR}.org"
|
|
|
|
- cat <<EOF > "${HOME}/org/health/${YEAR}.org"
|
|
|
|
-#+Title: Health Data from ${YEAR}
|
|
|
|
-#+AUTHOR: Sam Flint
|
|
|
|
-#+EMAIL: swflint@flintfam.org
|
|
|
|
-#+DATE: \today
|
|
|
|
-#+INFOJS_OPT: view:info toc:nil path:http://flintfam.org/org-info.js
|
|
|
|
-#+OPTIONS: toc:nil H:5 ':t *:t d:nil stat:nil todo:nil
|
|
|
|
-#+LATEX_CLASS_OPTIONS: [10pt,twocolumn]
|
|
|
|
-#+LATEX_HEADER: \usepackage[landscape,margin=0.125 in]{geometry}
|
|
|
|
-#+LATEX_HEADER: \pagestyle{empty}
|
|
|
|
-
|
|
|
|
-EOF
|
|
|
|
-fi
|
|
|
|
-echo "${HOME}/org/health/${YEAR}.org"
|
|
|
|
-
|
|
|
|
# Create the journal file
|
|
# Create the journal file
|
|
if [ ! -e "${HOME}/org/journal/${YEAR}.org.gpg" ] ; then
|
|
if [ ! -e "${HOME}/org/journal/${YEAR}.org.gpg" ] ; then
|
|
touch "${HOME}/org/journal/${YEAR}.org"
|
|
touch "${HOME}/org/journal/${YEAR}.org"
|
|
@@ -62,6 +44,5 @@ echo "${HOME}/org/notes/${YEAR}.org"
|
|
|
|
|
|
cd "${HOME}/org/" || exit 1
|
|
cd "${HOME}/org/" || exit 1
|
|
|
|
|
|
-git add "health/${YEAR}.org" && git commit -m "Added the health file for ${YEAR}"
|
|
|
|
git add "journal/${YEAR}.org.gpg" && git commit -m "Added the journal file for ${YEAR}"
|
|
git add "journal/${YEAR}.org.gpg" && git commit -m "Added the journal file for ${YEAR}"
|
|
git add "notes/${YEAR}.org" && git commit -m "Added the notes file for ${YEAR}"
|
|
git add "notes/${YEAR}.org" && git commit -m "Added the notes file for ${YEAR}"
|