Created
May 30, 2016 06:22
-
-
Save leozhang2018/492722fa551dff2e5cefccb788ec8c9d to your computer and use it in GitHub Desktop.
Chrome Cache into /dev/shm
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
# Chrome Cache | |
mkdir -p "/dev/shm/Chrome" -m 1777 | |
[ -d "$HOME/.cache/google-chrome" ] && [ ! -h "$HOME/.cache/google-chrome/Defau$ | |
rm -fR "$HOME/.cache/google-chrome/Default" | |
ln -s "/dev/shm/Chrome" "$HOME/.cache/google-chrome/Default" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment