Skip to content

rashkopetrov/virtual-drive

Repository files navigation

Virtual Drive bash script

A script that helps you to create and mount virtual drives with ease.

Installation

Installation manual

Usage

  • Help text:
    • virtual-drive --help
  • Create a virtual drive:
    • virtual-drive create --name myVault
  • Create a virtual drive (100MB):
    • virtual-drive create --name myVault --size 100
  • Create a virtual drive and mount it:
    • virtual-drive create --mount --name myVault
  • Mount the virtual drive
    • virtual-drive mount --name myVault
  • Unmount the virtual drive
    • virtual-drive unmount --name myVault
  • Delete the virtual drive
    • virtual-drive delete --name myVault
  • List all virtual drives
    • virtual-drive list
  • List only mounted virtual drives
    • virtual-drive list --list-mounted
  • Resize the virtual drive (new size 200MB)
    • `virtual-drive resize --name myVault --size 200

Examples

Examples

Credits

About

🚧 Under development -- does not work yet

Resources

License

Stars

Watchers

Forks

Languages