I can find the list of files using something like:

`find /path/to/files -type f`

And I can clear the contents of a single file with any of:

`> filename`

`echo -n > filename`

`cat /dev/null > filename`

You can do something like this with commands that don't involve output redirection:

`find /path/to/files -type f -exec file '{}' \;`

However this does not work:

`find /path/to/files -type f -exec echo -n > '{}' \;`

I can't seem to construct a command using find's `-exec` or `| xargs` to pipe the file list into one of these commands that will clear the files. How can I do this?