> What I wanted to do was to run a Maildir directory through spamc. I > figured the best way to do that would be to do a find and pipe the > results through spamc. So I came up with this
Perhaps : #!/bin/sh for b in * do spamc -r < $b echo . #optional done