#!/bin/bash #basic pv progress bar find / 2>/dev/null|pv |cat > /tmp/file.log #the above will go pretty fast #so to slow it down we'll put it in a loop #and use echo find / 2>/dev/null|while read l do echo "$l" done|pv |cat > /tmp/file.log