File and Drive stats for Linux and Windows
Releases (The Linux Version is automated build over GitHub Actions)
Linux: you need make, cmake and a c++ compiler installed
cmake -S . -B <path to store the build>
then cmake --build <path to store the build> --config Release
to build the app (the main app is sharkFsStats
(sharkFsStats.exe
on windows)).Argument | Description |
---|---|
-json |
The app will format output as json |
-ext |
Print extended informations |
-cpath |
The next argument should be a string to the folder/file about that you like the information |
Allowed is only 1 arg of each argument, if you have a duplicated arg, the others will ignored (-cpath
)
To get only “Free Disk Space”:
firstuniversalWINuLINUXcpp.cpp
(Entry Point)global.h
(Global definitions for drive and main)osspec.h
(Define the used OS to use the correct headers and libs)diskstats.cxx
(Main file for functions for Disk and Memory Stats)diskstats.h
(Header for diskstats.cxx
)parser.cxx
(Function definitions for the command line parser)parser.h
(Header file for the command line parser)stchar.cxx
(std::string
to char*
converter function def)stchar.h
(Header for std::string
to char*
converter)Do not be irritated by the name of the main folder, originally I did not know what I want to code
Our Ethereum Donation Address: 0xAB03723CD74d253725D6E4f774dbcEEf8e11bdaD
© Sharkbyteprojects