|
|
|
|
|
by maxk42
7 days ago
|
|
A year ago I was using claude and found it unexpectedly blowing-away already-settled code. I found this frustrating and just wanted to drop a "save point" where I could compare the before and after versions of certain files. So I built a little utility called "bup" that tarballs the whole code tree and gives it a unique name. It ignores prior backups and has options to ignore certain subdirectories, VCS directories, artifact directories, or secrets files. And you can add a single switch (-s) to create a shell script that automatically backs-up the current project. Yes I can use git for this, but this is honestly way easier, especially if I want to compare/edit different versions. No names. No files. No trees. Just "bup .". And it's 100% bash. https://github.com/maxk42/bup I'm probably the only one who'll ever use it but I like it. |
|