How I do it: https://leahneukirchen.org/dotfiles/bin/git-shar
Doesn’t this fall under the “Custom Utility Method” problem listed on the webpage? And how is this different from a variation on YAML?
It sounds a bit like the standards problem, but I think the point is that this utility is generic and doesn’t really care much about how the template looks and functions, while most other templating utilities would be built for purpose and won’t be able to adapt to a changing template.
Why not use tar? If it has to be plain text, pipe into base64. Nothing beats the portability of using widely distributed tools imho.
Really here they are selling the idea more than program. It’s actually better.
I though the same, then realized there’s some utility to what they are doing: they make the metadata like file names and locations plain text as well. I dunno if it’s going to take over the world, but it’s a neat thought.
Doesn’t the tar command have an option to list the filenames and directories contained within? Sure, you have to run the command instead of simply opening the file in whatever text editor or reader.