/cmd-dfd

A linux command wrapper for displaying the difference in disk space before and after running the provided command.

Primary LanguageShell

cmd-dfd

A linux command wrapper based on df for displaying the difference in disk space before and after running the provided command.

build from src

amd64

sudo apt install -y shc
shc -f cmd-dfd.sh -o cmd-dfd && sudo mv cmd-dfd /usr/local/bin/

Quick Install

amd64

git clone https://github.com/jet-c-21/cmd-dfd.git && \
cd cmd-dfd && \
./amd64_install.sh && \
cd ~ && cmd-dfd -V

arm64

Note: for arm architecture, currently cannot convert the shell script to binary, so the installation will copy the shell script to /usr/local/bin directly

git clone https://github.com/jet-c-21/cmd-dfd.git && \
cd cmd-dfd && \
./arm64_install.sh && \
cd ~ && cmd-dfd -V