Skip to content

conorarmstrong/macOS-ramdisk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

RAM Disk Manager

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.

Features

  • Create a RAM disk of a specified size in GB.
  • List all disks, including the RAM disk.
  • Destroy the RAM disk.

Usage

Prerequisites

  • macOS
  • Terminal

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/ramdisk-manager.git
    cd ramdisk-manager
  2. Make the script executable:

    chmod +x ramdisk_manager.sh

Commands

  • 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

Examples

  • 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

License

This project is licensed under the MIT License - see the LICENSE file for details.

Author

Conor Armstrong

Feel free to contribute by opening issues or submitting pull requests. Your feedback is highly appreciated!

Contact

If you have any questions or suggestions, feel free to reach out to me at [email protected].

About

Create, List and Delete a RAM disk in MacOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages