github.com/rclone/rclone@v1.66.1-0.20240517100346-7b89735ae726/docs/content/commands/rclone_cleanup.md (about)

     1  ---
     2  title: "rclone cleanup"
     3  description: "Clean up the remote if possible."
     4  slug: rclone_cleanup
     5  url: /commands/rclone_cleanup/
     6  groups: Important
     7  versionIntroduced: v1.31
     8  # autogenerated - DO NOT EDIT, instead edit the source code in cmd/cleanup/ and as part of making a release run "make commanddocs"
     9  ---
    10  # rclone cleanup
    11  
    12  Clean up the remote if possible.
    13  
    14  ## Synopsis
    15  
    16  
    17  Clean up the remote if possible.  Empty the trash or delete old file
    18  versions. Not supported by all remotes.
    19  
    20  
    21  ```
    22  rclone cleanup remote:path [flags]
    23  ```
    24  
    25  ## Options
    26  
    27  ```
    28    -h, --help   help for cleanup
    29  ```
    30  
    31  
    32  ## Important Options
    33  
    34  Important flags useful for most commands.
    35  
    36  ```
    37    -n, --dry-run         Do a trial run with no permanent changes
    38    -i, --interactive     Enable interactive mode
    39    -v, --verbose count   Print lots more stuff (repeat for more)
    40  ```
    41  
    42  See the [global flags page](/flags/) for global options not listed here.
    43  
    44  # SEE ALSO
    45  
    46  * [rclone](/commands/rclone/)	 - Show help for rclone commands, flags and backends.
    47