in reply to progress bar for a system command
If you're not able to centralize it, then duelafn's suggestion is probably going to be the quickest way to combine them. It also allows you to use tell on each filehandle before or after reading from it to monitor how far you've gotten in processing that file. Combined with checking the size of each file before starting, that should give you enough information to generate a relatively meaningful progress indicator.
|
|---|