bolsinga / itunes_json

This uses the iTunesLibrary or MusicKit framework to emit JSON representing the music library.
2 stars 0 forks source link

Improve handling duplicate runs of a git commit with the same base backup name #342

Closed bolsinga closed 6 months ago

bolsinga commented 6 months ago

This is mostly because if the mac reboots and the LaunchAgent has the RunAtLoad key it will run at each reboot. In the old way, it will just re-write the same json.gz file over (but with any new data). This will not overwrite any data, and will not throw an error, causing the backup to fail.

This work and https://github.com/bolsinga/bin_utils/pull/43 should address https://github.com/bolsinga/bin_utils/issues/34