I’d recommend putting it into a script you drop into a repo on github, just so you always have it, and it makes a neat way to publish/share it easily. Beware, it’s a DEEP rabbit-hole to try to autodetect the right devices and temporary spaces to use for copying.
These seem to be in conflict? I find writing down what commands I ran and how is often a good sweet spot for something I do rarely, and then I don’t have to worry about automating edge cases.
you can image cards from the pi itself, which is a little easier
I don’t have much of a reason to do this: my pi is a turnkey music-making box, not a general purpose computer. I’d much rather work on my mac, which is set up for development, has a monitor and keyboard, etc.
These seem to be in conflict? I find writing down what commands I ran and how is often a good sweet spot for something I do rarely, and then I don’t have to worry about automating edge cases.
I don’t have much of a reason to do this: my pi is a turnkey music-making box, not a general purpose computer. I’d much rather work on my mac, which is set up for development, has a monitor and keyboard, etc.