# smartdisk **Repository Path**: WwWxQxQ/smartdisk ## Basic Information - **Project Name**: smartdisk - **Description**: for smartctl - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-04-28 - **Last Updated**: 2024-04-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 0.Build ```shell cargo build --release sudo bash build.sh ``` ## 1. Add Global PATH in `~/.bashrc` or `~/.zshrc` add the following line: ```shell #smartctl SMARTCTL_HOME="/usr/local/bin" export PATH=$SMARTCTL_HOME:$PATH ``` and then ```shell source ~/.bashrc ``` ## 2. Usage ```shell Usage: smartdisk [OPTIONS] --device Options: -d, --device -f, --file [default: ./disk_record.md] -h, --help Print help -V, --version Print version ```