github.com/artpar/rclone@v1.67.3/docs/content/commands/rclone_rmdir.md (about)

     1  ---
     2  title: "rclone rmdir"
     3  description: "Remove the empty directory at path."
     4  slug: rclone_rmdir
     5  url: /commands/rclone_rmdir/
     6  groups: Important
     7  # autogenerated - DO NOT EDIT, instead edit the source code in cmd/rmdir/ and as part of making a release run "make commanddocs"
     8  ---
     9  # rclone rmdir
    10  
    11  Remove the empty directory at path.
    12  
    13  ## Synopsis
    14  
    15  
    16  This removes empty directory given by path. Will not remove the path if it
    17  has any objects in it, not even empty subdirectories. Use
    18  command [rmdirs](/commands/rclone_rmdirs/) (or [delete](/commands/rclone_delete/)
    19  with option `--rmdirs`) to do that.
    20  
    21  To delete a path and any objects in it, use [purge](/commands/rclone_purge/) command.
    22  
    23  
    24  ```
    25  rclone rmdir remote:path [flags]
    26  ```
    27  
    28  ## Options
    29  
    30  ```
    31    -h, --help   help for rmdir
    32  ```
    33  
    34  
    35  ## Important Options
    36  
    37  Important flags useful for most commands.
    38  
    39  ```
    40    -n, --dry-run         Do a trial run with no permanent changes
    41    -i, --interactive     Enable interactive mode
    42    -v, --verbose count   Print lots more stuff (repeat for more)
    43  ```
    44  
    45  See the [global flags page](/flags/) for global options not listed here.
    46  
    47  # SEE ALSO
    48  
    49  * [rclone](/commands/rclone/)	 - Show help for rclone commands, flags and backends.
    50