Skip to content

This script performs storage related operations like adding or subtracting various memory unit values. The output will be accordingly the final total of all the operations. lowest output memory unit will be B (bytes) highest is TB. (final total less than 0 like 0.1GB, 0.02MB will be converted to there respective lower memory unit versions i.e. M…

jaypowar00/storage_calc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

storage_calc

created a py script for performing some storage based calculations,

like 1GB + 7MB - 958KB

Usage: give input string like below:
  1MB + 2GB + 9kb - 9TB

(don't give space between value and the memory units(i.e. mb,gb,tb))

About

This script performs storage related operations like adding or subtracting various memory unit values. The output will be accordingly the final total of all the operations. lowest output memory unit will be B (bytes) highest is TB. (final total less than 0 like 0.1GB, 0.02MB will be converted to there respective lower memory unit versions i.e. M…

Topics

Resources

Stars

Watchers

Forks