@Lady Life hack: create a file named -i in your important directories so that if you `rm * ` while there you'll be prompted before anything gets erased.
@Lady I can't claim credit for this one. I saw it (or something similar, maybe a different flag or a different command) somewhere else, I don't remember where
... as legitimate, earnestly-suggested, advice.
@gaditb i feel like there is no guarantee that the -i file will appear first?? also who does `rm *` and not `rm -rf the_directory`
@gaditb lifehack: just start the name of any important file with a period so that rm * doesn’t glob it
@gaditb (FreeBSD rm being the ancestor of macOS rm, relevant in my case)