I usually use .bak… .old seems so… old.
Evolution:
- config.json
- config.json.bak
- config.json.bak.old
- config.json.bak.old2
- config.json.bak.old3.stillworks
- config.json.bak.old3.stillworks.DONTUSETHIS
- config.json_(redownloaded_from_source)
BAK IN MY DAY 👵👴
Yep I still add .bak to mine
That’s why you put your config files in a git repository
Sounds like Nixos with extra steps
What do you mean? My NixOS config files are in a git repository
Even the system files like those in /etc ?
I use NixOS btw ;)
I’m seeing this on oldsh.itjust.works, feels extra meta
Filename.bak.REAL
That sounds like a virus.
/usr/share/bin/notporn/seriously/definitelynotporn
*~
But you should really have a backup system. And often you should have a version control system too.
Use etc-keeper, saves everything in a git repo and integrates with a bunch of package managers. Been using it for decades it feels like now.
Is there a tool to version your configs? I use chezmoi for my dotfiles but that doesn’t help system configs
Etckeeper