Created
November 8, 2016 16:54
-
-
Save gebi/79958f673fe93c56243eaeed16e21102 to your computer and use it in GitHub Desktop.
Start temporary google chrome instance
This file contains 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
#!/bin/bash | |
tmp_=$(mktemp -d --tmpdir google-chrome-anon-XXXXXXXXXX) | |
echo "private dir: " $tmp_ | |
trap "{ rm -rf /tmp/$(basename $tmp_); exit 255; }" EXIT | |
nice -n5 google-chrome --user-data-dir=$tmp_ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment