Skip to content

Instantly share code, notes, and snippets.

@Infernio
Last active June 28, 2024 16:28
Show Gist options
  • Save Infernio/526e8d958493b2bb45f8593b09472e0a to your computer and use it in GitHub Desktop.
Save Infernio/526e8d958493b2bb45f8593b09472e0a to your computer and use it in GitHub Desktop.
Vim command to skip bees when it gets stuck searching and deduplicating for certain games forever (e.g. this happens with Granblue Fantasy Relink for me)
# Put the UUID of the btrfs filesystem on which bees is stuck here.
sudo systemctl stop beesd@PUT_UUID_HERE.service
# Use the right BEESHOME here.
vim $BEESHOME/beescrawl.dat
# In Vim, run the following command:
# :%s/min_transid \(\d\+\) max_transid \(\d\+\)/min_transid \2 max_transid \2/g
# Same as before, put the right UUID here.
sudo systemctl start beesd@PUT_UUID_HERE.service
# If everything worked correctly, bees should start and drop down to 0% CPU usage after a few seconds.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment