Has anyone ever heard of a tool that can 'record' and playback all changes under a specific directory (on linux)? I want it and I can't be the first/only one. Is there a technical reason it's not possible?
To be clear: it would re-create all of the files and directories that were recorded, in the same order, and write the data to the files at the same rate as the originals
My use-case: I'd love to 'record' the data being generated from a sequencing run. Then I could use the playback to build/test automation tools
I made this tool that crudely simulates a small subset of the illumina sequencer outputs but I'd love to flesh it out a bit and be able to simulate the timing more accurately
GitHub - dfornika/illumina-run-simulator: Tool to help test & develop fastq symlinking service

Tool to help test & develop fastq symlinking service - GitHub - dfornika/illumina-run-simulator: Tool to help test & develop fastq symlinking service

GitHub
@dfornika Hi Dan, I have two suggestions that might help. Look into the inotify API and the storage command. Run "man inotify" and "man strace" in a Linux terminal to learn more. Inotify tells you when files change. Strace shows you every system call a program makes, including individual write calls to files https://en.m.wikipedia.org/wiki/Inotify
https://en.m.wikipedia.org/wiki/Strace
inotify - Wikipedia

@jasonedgecombe cool, thanks for the tips. I'm hoping for something that's a little more pre-packaged but I might not need it if I get a bit creative.
@jasonedgecombe well since you mentioned strace I'm gonna tag @bcantrill in this thread and hope he might drop a tip if he has a chance