Forrest logo
back to the ranger tool

ranger:tldr:f7b11

ranger: Change the configuration directory.
$ ranger --confdir=${path-to-directory}
try on your machine

The command "ranger --confdir=${path-to-directory}" is used to run the "ranger" file manager application with a specific configuration directory.

Here's the breakdown of the command:

  • "ranger" is the command itself, which starts the ranger file manager application.
  • "--confdir=" is an option that allows you to specify the path to the directory where the ranger configuration files are located.
  • "${path-to-directory}" is a placeholder for the actual path to the directory that contains the ranger configuration files. You need to replace it with the actual path on your system.

By providing this command, you can start the ranger file manager application with your desired configuration files from a specific directory. This can be useful when you have multiple configurations for different purposes and want to switch between them easily by launching ranger with a specific configuration directory.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the ranger tool