in reply to Re: Run a script on every file in a directory
in thread Run a script on every file in a directory

I would like the output files to rewrite the original files. Can you show me how to do that?
For example, look at In place editing of text files.

See also:

Hit the books and write some code.
  • Comment on Re^2: Run a script on every file in a directory