And here it comes: Jonek’s first mini blog post! 🎉
Sometimes you want to start a separate throw-away instance of Chrome.
But you want to keep your current instance (because it has those 💯 tabs that you need 😉).
Use this simple trick:
mkdir /tmp/chrome-tmp; google-chrome --user-data-dir=/tmp/chrome-tmp; rm -rf /tmp/chrome-tmp
It creates a temporary directory
/tmp/chrome-tmp to store everything chrome wants to store and deletes it again after you closed that chrome window.
Pro Tip: This is especially handy in conjunction with chrome's option
—ignore-certificate-errorsif you want to use/test/debug web services with self-signed SSL certificates.
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome when running on a Mac.
Check Doug’s Notes Multiple Instances of Chrom for more details…