You can use the hadoop dfs -lsr /dirname command recursively to display the contents of a directory.
To filter directories only, you can grep "drwx" (since the owner has rwx permission for directories) in the output of the command above.
Therefore, the whole team will look like the one shown below.
$hadoop dfs -lsr /sqoopO7 | grep drwx
source share