disk-calc
Hard disk calculation.
Easy to calculate integer hard disk partition.
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
Example
$ 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