Skip to content

Instantly share code, notes, and snippets.

View erwinlares's full-sized avatar

Erwin Lares erwinlares

View GitHub Profile
@erwinlares
erwinlares / autobuild.sh
Created November 2, 2021 20:02 — forked from SimonGoring/autobuild.sh
Autobuild RMarkdown presentations
#!/bin/bash
### Set initial time of file
LTIME=`stat -c %Z ./$1.Rmd`
while true
do
ATIME=`stat -c %Z ./$1.Rmd`
if [[ "$ATIME" != "$LTIME" ]]