github.com/ncw/rclone@v1.48.1-0.20190724201158-a35aa1360e3e/docs/content/commands/rclone_tree.md (about)

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