Thursday, June 1, 2017

Uncompress with dialog gui

(pv -n file.tgz | tar xzf - -C target_directory ) \ 2>&1 | dialog --gauge "Extracting file..." 6 50

http://hsblog.mexchip.com/en/2010/10/how-to-show-a-progress-bar-when-extracting-a-file/

No comments:

Blog Archive