RAM Disk Manager is a simple shell script to manage RAM disks on macOS. With this script, you can easily create, list, and destroy RAM disks of specified sizes.
- Create a RAM disk of a specified size in GB.
- List all disks, including the RAM disk.
- Destroy the RAM disk.
- macOS
- Terminal
-
Clone the repository:
git clone https://github.com/yourusername/ramdisk-manager.git cd ramdisk-manager
-
Make the script executable:
chmod +x ramdisk_manager.sh
-
Create a RAM disk:
./ramdisk_manager.sh -c [size]GB
Replace
[size]
with the desired size in GB. For example, to create an 8GB RAM disk:./ramdisk_manager.sh -c 8GB
-
List all disks:
./ramdisk_manager.sh -l
-
Destroy the RAM disk:
./ramdisk_manager.sh -d
-
Create a 4GB RAM disk:
./ramdisk_manager.sh -c 4GB
-
List all disks:
./ramdisk_manager.sh -l
-
Destroy the RAM disk:
./ramdisk_manager.sh -d
This project is licensed under the MIT License - see the LICENSE file for details.
Conor Armstrong
Feel free to contribute by opening issues or submitting pull requests. Your feedback is highly appreciated!
If you have any questions or suggestions, feel free to reach out to me at [email protected].