Script runs pv command on remote host - all output displays locally as expected, except the pv progress bar

172 Views Asked by At

The command executed remotely goes as follows,

cat ${DUMPFILE} | pv -ls $( wc -l ${DUMPFILE} ) | gzip -c -- > ${DUMPFILE_ZIPPED}

pv shows progress as expected when script is executed from host.

Is there a way to have pv output show, when executed remotely?

0

There are 0 best solutions below