Hi,
As of yours loop, such thing, when renaming files in bash, you can do `mv {,OLD-}foo*.txt`
Great practice would be to write report scripts which aggregate multiple data sources into single array of predefined objects which are finally sent into `stdout`, `/var/spool/user` or anywhere else.