Forrest logo
back to the ranger tool

ranger:tldr:8227c

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

This command is used to run the "ranger" file manager with a specified data directory.

Here's the breakdown of the command:

  • "ranger" is the name of the file manager application that you want to run.
  • "--datadir=" is an option or flag that specifies the data directory for the "ranger" file manager.
  • "${path-to-directory}" is a placeholder that needs to be replaced with the actual path to the desired directory.

By providing this command, you are launching the "ranger" file manager and telling it to use the specified directory as its data storage location. This can be useful if you want to keep the configuration or other data files of "ranger" separate from its default location.

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