Currently I have this find command which avoids descending particular directories:
find . \! \( -name ".hg" -prune \) \! \( -name "localhost" -prune \) \! \( -name "logs" -prune \) -type f
The command works like I want it to, but I'm looking for a more succinct solution. I feel like I'm repeating myself a lot, and there must be a more elegant/shorter way to accomplish the same thing.