# Folder Structure

Once **rbkcli** is installed or (in the portable case) ran, it will create a set of folders and files in the user's home directory (\~/rbkcli). 1. Following is an example of the folder structure:

```
    $ tree ~/rbkcli
    /home/bmanesco/rbkcli
    ├── conf
    │   ├── cmdlets
    │   │   └── rbkcli-cmdlets.json
    │   ├── rbkcli.conf
    │   └── target_resolution.json
    ├── logs
    │   └── rbkcli.log
    ├── scripts
    │   └── default
    │       ├── jsonfy_csv.py
    │       ├── jsonfy_report_table.py
    │       ├── log_api_metrics.py
    │       ├── log_bundle.py
    │       └── vmware_vm_protect_vms.py
    └── targets
        └── a8cd537d-e274-46d8-871e-f80ac47c264c
            └── me.json
    7 directories, 10 files
```

```
The folders structure will vary according to the, cmdlets profile you have or custom scripts that have already been added, but the default structure should be very similar to this one.
```

## Breakdown

1. conf/ The *conf* folder contains 1 directory and 2 files.
   * The *cmdlets* folder, contains the cmdlets profiles created by the users. Each profile corresponds to a json file.&#x20;
     * When installed **rbkcli** comes with rbkcli-cmdlets.json profile.
   * The *rbkcli.conf* file is the configuration file where users can change settings and API profiles.
     * For more information on configuration changes, visit: [Configuration File](https://rubrik.gitbook.io/rbkcli/files-and-configs/configuration_file)
   * The *target\_resolution.json* file, is **rbkcli's** map to optimize caching for each target. Once rbkcli is used against a target, one of the files created/updated is *target\_resolution.json* file.&#x20;
     * rbkcli uses this file to decide whether or not if there is already a copy of the API documentation cached in the local system.
     * For tweaking options please visit: [Use rbkcli with a proxy/VPN](https://github.com/rubrikinc/rbkcli/tree/e778848229107b20188fbc41ec000d4c3c04572e/docs/KB0017.md)
2. logs/ The *logs* folder contains auto-generated log files, this folder can have 1 current log plus 5 rolled logs, the maximum size of the each file is 2Mb.
   * For more information on logs available, visit logs documentation at: [Logs](https://rubrik.gitbook.io/rbkcli/files-and-configs/logs)
3. scripts/ The *scripts* folder contains 1 directory, but can me modified at will by any user.
   * The *default* folder contains the scripts release with **rbkcli** public version, the **rbkcli** library that differentiates from simple API calls.
4. targets/ The *targets* folder will contain a directory per unique cluster which **rbkcli** has connected to. This is the folder that holds the cached data of each target.
   * The  folder contains 1 file called me.json, which is essentially the cached information of the whole API documentation.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://rubrik.gitbook.io/rbkcli/files-and-configs/folder_structure.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
