I made a shell script which uses this command to calculate a sha256 checksum recursive for a directory for example
Thanks for your time! :)
/run/media/$USER/directory
:
find . -type f -exec sha256sum {} \; | sort -k 2 | sha256sum
This process takes some time. Meanwhile I want to display a progress bar via **zenity** that shows the current progress according to the command.
I tried it with:
find . -type f -exec sha256sum {} \; | sort -k 2 | sha256sum | zenity --progress --title="Checksum"
but it doesn't show any percentages:

Asked by stewie
(31 rep)
Sep 29, 2022, 12:05 PM
Last activity: Sep 30, 2022, 10:40 PM
Last activity: Sep 30, 2022, 10:40 PM