A linux command wrapper based on df
for displaying the difference in disk space before and after running the provided command.
sudo apt install -y shc
shc -f cmd-dfd.sh -o cmd-dfd && sudo mv cmd-dfd /usr/local/bin/
git clone https://github.com/jet-c-21/cmd-dfd.git && \
cd cmd-dfd && \
./amd64_install.sh && \
cd ~ && cmd-dfd -V
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