A CLI to interact with txtar archive files 📂
txtar is an incredibly useful tiny archive format, able to trivially store a miniature filesystem in a single plain text file. It particularly shines for storing test cases!
Most of the time a txtar archive is created manually, but what if you already have a directory full of stuff and you want to instead store them in txtar. Or you have a txtar archive that you want to instantly replicate on your filesystem!
That's where txtract
comes in 🚀
Compiled binaries for all supported platforms can be found in the GitHub release. There is also a homebrew tap:
brew install FollowTheProcess/tap/txtract
Recursively zip up the contents of a directory into a single txtar file named yourdirectory.txtar
txtract zip ./yourdirectory
Or go the other way, unzip a txtar file back into your filesystem:
txtract unzip yourdirectory.txtar
This package was created with copier and the FollowTheProcess/go_copier project template.