Hacker News new | ask | show | jobs
by edmcck 2020 days ago
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.

1 comments

> As of yours loop, such thing, when renaming files in bash, you can do `mv {,OLD-}foo*.txt`

I don't think so. Doesn't this break when the glob matches more than one?