When a Dired buffer lists subdirectories, you can use the page motion commands
C-x [ and
C-x ] to move by entire directories (see Pages).
The following commands move across, up and down in the tree of directories within one Dired buffer. They move to directory header lines, which are the lines that give a directory’s name, at the beginning of the directory’s contents.
Go to next subdirectory header line, regardless of level (
Go to previous subdirectory header line, regardless of level (
Go up to the parent directory’s header line (
Go down in the directory tree, to the first subdirectory’s header line (
Move up to the previous directory-file line (
dired-prev-dirline). These lines are the ones that describe a directory as a file in its parent directory.
Move down to the next directory-file line (