Skip to content

Instantly share code, notes, and snippets.

View freels's full-sized avatar

Matt Freels freels

View GitHub Profile
@freels
freels / purge_bzfileids.rb
Last active March 15, 2025 16:13 — forked from pgib/README.md
Clean up the bloated Backblaze bzfileids.dat
#!/usr/bin/env ruby
# Place in `/Library/Backblaze.bzpkg/bzdata/bzbackup`, and run with:
#
# ```
# ruby purge_bzfileids.rb
# ```
#
# It will process `bzfileids.dat` placing any file that exists in
# `bzfileids.dat-found` and any missing file in `bzfileids.dat-missing`. You can
# then back up your original file and replace it with `bzfileids.dat-found`.