/disk-calc

Hard disk calculation - Easy to calculate integer hard disk partition.

Primary LanguageJavaScriptMIT LicenseMIT


 _______   __       _______. __  ___          ______     ___       __        ______ 
|       \ |  |     /       ||  |/  /         /      |   /   \     |  |      /      |
|  .--.  ||  |    |   (----`|  '  /   ______|  ,----'  /  ^  \    |  |     |  ,----'
|  |  |  ||  |     \   \    |    <   |______|  |      /  /_\  \   |  |     |  |     
|  '--'  ||  | .----)   |   |  .  \         |  `----./  _____  \  |  `----.|  `----.
|_______/ |__| |_______/    |__|\__\         \______/__/     \__\ |_______| \______|
                                                                                    

Greenkeeper badge Build Status Coverage Status Dependency Standard - JavaScript Style Guide License FOSSA Status

Hard disk calculation.

Easy to calculate integer hard disk partition.

NPM

disk-calc status

Installation

npm install -g disk-calc

Usage

$ disk-calc -h

  Usage: disk-calc [options] [command]


  Commands:

    usage|u [options]                  
    windows|win <disk_size> [hide_size]

  Hard disk calculation.

  Options:

    -h, --help     output usage information
    -V, --version  output the version number

Examples

disk-calc usage             # Display the program steps in English.
disk-calc usage -c          # Display the program steps in Chinese.
disk-calc windows 10        # Calculate the size of the 10G partition
disk-calc windows 10g       # Calculate the size of the 10G partition
disk-calc windows 10G       # Calculate the size of the 10G partition
disk-calc windows 10GB      # Calculate the size of the 10G partition
disk-calc windows 10G 566M  # Calculate the size of the 10G partition + 566MB hidden partition sizes

Contributing

Welcome to pull requests, report bugs, suggest ideas and discuss disk-calc, i would love to hear what you think about disk-calc on issues page.

If you like it then you can put a ⭐ on it.

License

MIT

FOSSA Status