#Checking files for changes on startup

4 messages · Page 1 of 1 (latest)

unkempt gulch
#

For a static site generator, I am attempting to see if files in a source directory have been changed since the last time it has been ran. If they are, it will convert it from an org document to an html document. Is there any existing solutions to this problem? What I had in mind was to put the file names, last modified dates, and md5sums in a json file. If it doesn't exist it makes a new entry, if the date has changed it checks the md5sum. If it isn't present it deletes the entry.

sick pecan
#

Sounds good

#

Don't know about an existing solution for this exact thing

unkempt gulch
#

Now that I am looking into it, it looks like I would be reinventing github actions. I'm going to look at some CI/CD solutions