One trick that one of my students taught me a decade or so ago is to actually make an alias to list the useful flags.
Yes, a lot of us think we are smart and set up aliases/functions and have a huge list of them that we never remember or, even worse, ONLY remember. What I noticed her doing was having something like goodman-rsync
that would just echo out a list of the most useful flags and what they actually do.
So nine times out of 10 I just want rsync -azvh --progress ${SRC} ${DEST}
but when I am doing something funky and am thinking “I vaguely recall how to do this”? dumbman rsync
and I get a quick cheat sheet of what flags I have found REALLY useful in the past or even just explaining what azvh
actually does. And I just keep that in the repo of dotfiles I copy to machines I work on regularly.
mesamunefire@piefed.social 1 day ago
I feel this too. I have a couple of “spells” that work wonders in a literal small notebook with other one liners over the years. Its my spell book lol.