How to generate a list of daily changes to my notes?
1
vote
1
answer
48
views
**Background**:
I use Obsidian to organize my notes as I study. It's an application which works "on top of" a collection of markdown formatted plain text files and then shows the links and connections between them graphically. The text files I stored within sub folders of a single folder
**What I want:**
Since I am studying for an upcoming exam, I add information to several of these text files each day. At the end of the day, I'd like to have an automatically generated single text file containing all the changes I made to each of my files. A kind of "daily digest" which I can then read through to revise everything I learned on that day.
**Additional background:**
I already have a cron job set up to use rsync to make an uncompressed copy of my notes folder every day at 3:00 AM. I assume this copy can act as a reference when I want to see what modifications have been made at the end of the current day.
**An example**
Let's say on the 15th of May, I made the following changes
Added "
This is some new text
" to file A
Added - "this is some more textual information
" to file B.
My "daily digest" at the end of the 15th of May would read
"This is some new text"
This is some more textual information"
**My Research:**
I understand that tools like diff and meld (GUI) are great for comparing files.
The diff output formatting it a quite difficult to understand. Meld on the other hand is very easy to use but it's a GUI app so I can't figure out how to direct it's output to a single text file.
Asked by mahela007
(193 rep)
May 16, 2023, 08:13 AM
Last activity: May 16, 2023, 09:30 AM
Last activity: May 16, 2023, 09:30 AM