Read only life cycle / Immutability

hendry

Explorer
Joined
May 24, 2018
Messages
98
Hi, I am looking for a low-fi approach for a workflow I have.

I organise my data in day folders, YYYY-MM-DD, folders typically older folders I want to be read only.

There are exceptions when I ingest say a old SDcard from pictures of a month ago. I want to ideally store that in $(date -d "-1 month" +%Y-%m-%d)/ folder.

I want old stuff static, and checksumed, preferably with a manifest with sha checksums. So if I ever copy the data to a USB drive or rsync it somewhere, I have a good idea if everything has integrity.

Has anyone implemented such a "immutable" workflow or can suggest a similar direction to what I am after?
 

hendry

Explorer
Joined
May 24, 2018
Messages
98
Gone on a little tangent and I'm wondering how to organise my data given manifests.

Code:
# time find /home/hendry/ -type f -exec sha256sum {} + > /root/hendry.txt


https://www.youtube.com/watch?v=HtUxZItNoIE

I am looking for a solution which can suck up the manifests and basically help me understand where files I care about are. The checksum manifest should additionally help me lock them down so I know they still have their integrity.
 
Top