/hdd-profiler

Primary LanguageRThe UnlicenseUnlicense

hdd-profiler

Given a raw block device path, generate an R Markdown–HTML report of its partitions, space usage, and contents with mtime. Does not require superuser privileges (uses udisksctl).

Quick start

Install the two dependencies, tidyverse and rmarkdown. If you are using conda, this repository contains an appropriate conda environment file:

conda env create -n hdd-profiler -f hdd-profiler.yaml
conda activate hdd-profiler

Usage: the first command line argument is the path to the raw block device (not the partition!) and the second argument is the desired output filename.

./hdd-profiler.R /dev/sda sda.html

Example output