I'm looking to get the name of a bunch a directories at a specified level.
This is what I've got so far:
find . -type d -depth 2 -print
But this also prints the relative path of these directories. How can I just get their name?
From the GNU findutils manual:
Edit: In the lack of the