Any "find -exec" guru's around.
I have a folder of files I need to send to sendmail (they appear in there when something bad has happened).
The command
find . -type f -exec sendmail -t < {} \;gives me
-bash: {}: No such file or directoryIt doesn't seem to like the
<.And this
find . type -f -exec cat {} |sendmail -t \;gives me
find: missing argument to `-exec'It doesn't seem to like the
|.
What is wrong?