I have a command that reads a file, and outputs a modified version on stdout
:
./convert /path/to/file
How can I recursively apply this command to all files in a directory, and overwrite the existing contents of each file with the result from the command above?
I found this question which is very similar, but all solutions offered involve outputting the results to a single file, which is not what I want.