This file contains hidden or 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
#!/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`. |