Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.