-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7fb85d0
commit e7bb29c
Showing
1 changed file
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,13 @@ | ||
# file-backup-rotate | ||
Backup a file when it has changed and rotate the backups | ||
|
||
TLDR Summary: Backup a file when it has changed and rotate the backups. | ||
|
||
So I have this habit of playing [FTL: Faster Than Light](https://subsetgames.com/ftl.html), which is fun and fantastic! | ||
|
||
<img width="501" alt="Screenshot 2024-06-24 at 8 14 19 PM" src="https://github.com/francisluong/file-backup-rotate/assets/3297590/cea706e8-2cdb-4a56-ad86-355d63072ea4"> | ||
|
||
But recently I lost some progress because my profile got corrupted. I was able to get an old save from Apple's Time Machine file history backups, but I didn't want to start playing again until I had a way to ensure that there would be a history of backups created as I play the game. | ||
|
||
Also I wanted a reason to get hands-on with GoLang again. | ||
|
||
Thus it came to pass that I created software for something that could have been easily solved with plan old gnu tools and maybe some Bash scripting. No regrets. This was a fun bit of coding that I wanted to do for my own selfish reasons. |