Ignore tmp and log directories.