Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/0x46616c6b/cache2ram
simple script to create a ramdisk on mac os x and link several cache directories to the ramdisk
https://github.com/0x46616c6b/cache2ram
Last synced: 3 months ago
JSON representation
simple script to create a ramdisk on mac os x and link several cache directories to the ramdisk
- Host: GitHub
- URL: https://github.com/0x46616c6b/cache2ram
- Owner: 0x46616c6b
- Created: 2011-08-03T13:58:26.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-01-24T20:05:36.000Z (almost 13 years ago)
- Last Synced: 2023-03-12T05:17:01.988Z (almost 2 years ago)
- Language: Shell
- Size: 91.8 KB
- Stars: 8
- Watchers: 0
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cache2ram
Small script which creates a ramdisk and create some symbolic links from ~/Library/Caches directories on it. So you can place your Cache directory for example from Firefox or Chrome on this very fast disk.
## Installation
- Clone the repository
- copy the script in a directory you want (for ex. /usr/local/bin) or let them in your local repo
- enable the script with Mac OS X LoginHook:
sudo defaults write com.apple.loginwindow LoginHook /usr/local/bin/cache2ram- Thats it! Ensure you have enough memory for the ramdisk or decrease the size in the script.