@vitalik1eth
Progress bars for copying or otherwise processing large numbers of files should just compute the progress as (bytes_processed / total_bytes * 0.5 + files_processed / total_files * 0.5)
would be more accurate and capture situations where slowness comes from file count as well as where it comes from byte count