Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement