How to show progress with GPG for large files

gpgpv

I need to encrypt a large file using gpg. Is it possible to show a progress bar like when using the pv command?

Best Answer

progress can do this for you — not quite a progress bar, but it will show progress (as a percentage) and the current file being processed (when multiple files are processed):

gpg ... &
progress -mp $!
Related Question