Last active
October 10, 2020 19:56
-
-
Save Maeda-Naoki/ce25d30f15c3f6ee6f84da3b31011406 to your computer and use it in GitHub Desktop.
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
diskutil erasevolume HFS+ "ramdisk" `hdiutil attach -nomount ram://2097152` | |
mkdir -p /Volumes/ramdisk/firefox/ | |
mkdir -p /Volumes/ramdisk/GoogleChrome/Lib_Chaches | |
mkdir -p /Volumes/ramdisk/GoogleChrome/App_Chaches | |
rm -Rf /Users/$USER/Library/Caches/Google/Chrome | |
rm -Rf /Users/$USER/Library/Application\ Support/Google/Chrome/Default/Application\ Cache | |
ln -s /Volumes/ramdisk/GoogleChrome/Lib_Chaches /Users/$USER/Library/Caches/Google/Chrome | |
ln -s /Volumes/ramdisk/GoogleChrome/App_Support /Users/$USER/Library/Application\ Support/Google/Chrome/Default/Application\ Cache | |
#Firefoxの設定 | |
#アドレスバーに[about:config]を入力 | |
#右クリック→[新規作成]→[文字列] | |
#[browser.cache.disk.parent_directory]を入力 | |
#[/Volumes/ramdisk/firefox]を入力 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment