After seeing the recently posted How To Generate A Tezos Vanity Address, I thought I'd share a method I've used to generate a vanity address that has the benefit of being able to easily be restored or transferred to another wallet from a seed phrase backup.
Most of the credit goes to Stephen Andrews. I've just slightly modified some of the code he wrote to get it to work the way I want.
Everything below assumes you are working from the Linux command line (tested in Debian/Ubuntu distributions):
First, clone Stephen Andrews' eztz repository from github:
git clone -b vanity https://github.com/stephenandrews/eztz