github.com/10XDev/rclone@v1.52.3-0.20200626220027-16af9ab76b2a/docs/content/commands/rclone_tree.md (about)

     1  ---
     2  title: "rclone tree"
     3  description: "List the contents of the remote in a tree like fashion."
     4  slug: rclone_tree
     5  url: /commands/rclone_tree/
     6  # autogenerated - DO NOT EDIT, instead edit the source code in cmd/tree/ and as part of making a release run "make commanddocs"
     7  ---
     8  # rclone tree
     9  
    10  List the contents of the remote in a tree like fashion.
    11  
    12  ## Synopsis
    13  
    14  
    15  rclone tree lists the contents of a remote in a similar way to the
    16  unix tree command.
    17  
    18  For example
    19  
    20      $ rclone tree remote:path
    21      /
    22      ├── file1
    23      ├── file2
    24      ├── file3
    25      └── subdir
    26          ├── file4
    27          └── file5
    28      
    29      1 directories, 5 files
    30  
    31  You can use any of the filtering options with the tree command (eg
    32  --include and --exclude).  You can also use --fast-list.
    33  
    34  The tree command has many options for controlling the listing which
    35  are compatible with the tree command.  Note that not all of them have
    36  short options as they conflict with rclone's short options.
    37  
    38  
    39  ```
    40  rclone tree remote:path [flags]
    41  ```
    42  
    43  ## Options
    44  
    45  ```
    46    -a, --all             All files are listed (list . files too).
    47    -C, --color           Turn colorization on always.
    48    -d, --dirs-only       List directories only.
    49        --dirsfirst       List directories before files (-U disables).
    50        --full-path       Print the full path prefix for each file.
    51    -h, --help            help for tree
    52        --human           Print the size in a more human readable way.
    53        --level int       Descend only level directories deep.
    54    -D, --modtime         Print the date of last modification.
    55    -i, --noindent        Don't print indentation lines.
    56        --noreport        Turn off file/directory count at end of tree listing.
    57    -o, --output string   Output to file instead of stdout.
    58    -p, --protections     Print the protections for each file.
    59    -Q, --quote           Quote filenames with double quotes.
    60    -s, --size            Print the size in bytes of each file.
    61        --sort string     Select sort: name,version,size,mtime,ctime.
    62        --sort-ctime      Sort files by last status change time.
    63    -t, --sort-modtime    Sort files by last modification time.
    64    -r, --sort-reverse    Reverse the order of the sort.
    65    -U, --unsorted        Leave files unsorted.
    66        --version         Sort files alphanumerically by version.
    67  ```
    68  
    69  See the [global flags page](/flags/) for global options not listed here.
    70  
    71  ## SEE ALSO
    72  
    73  * [rclone](/commands/rclone/)	 - Show help for rclone commands, flags and backends.
    74