ranger:tldr:1215d
The command "ranger --show-only-dirs" is used to run the ranger file manager program in a mode where it only displays directories (folders) and excludes any files from the view.
Ranger is a text-based file manager for Unix-like operating systems that provides a simple and intuitive interface for navigating and manipulating files and directories. By default, ranger displays both directories and files, but the "--show-only-dirs" option restricts the display to only directories.
When you run this command, ranger will launch, and you will see a list of directories in your current location. You can navigate between directories using the arrow keys or by typing the directory's number. This mode can be useful if you only need to focus on directories and don't want to clutter the view with files.