/foo/bar/a
/foo/bar/b
例えばこういうディレクトリがあるとして
find /foo/bar -type dをやると
/foo/bar
/foo/bar/a
/foo/bar/b
親ディレクトリもヒットします
親ディレクトリは除外する方法を教えてください