pv

Monitor the progress of data through a pipe. More information: https://manned.org/pv.

pv path/to/file

command1 | pv --size expected_amount_of_data_for_eta | command2

pv -cN in big_text_file | grep pattern | pv -cN out > filtered_file

pv -d PID

pv -EE path/to/faulty_media > image.img

pv -L 1K --stop-at --size maximum_file_size_to_be_read