Skip to content

Instantly share code, notes, and snippets.

@KevinMX
Last active May 2, 2021 15:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KevinMX/27bd68a20f7662ad732c4e636ce54d46 to your computer and use it in GitHub Desktop.
Save KevinMX/27bd68a20f7662ad732c4e636ce54d46 to your computer and use it in GitHub Desktop.
Beyond Compare Linux Infinite Trial
#!/bin/sh
#For testing purposes only. Please purchase genuine BC license and support the developers.
#Run this script with root/sudo.
mv /usr/bin/bcompare /usr/bin/bcompare_bak
cat << "EOF" > /usr/bin/bcompare
#!/bin/sh
rm "${HOME}/.config/bcompare/registry.dat"
/usr/bin/bcompare_bak $@
EOF
chmod 0755 /usr/bin/bcompare
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment