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?