--- date: 2020-05-27T16:09:49+01:00 title: "rclone rmdir" description: "Remove the path if empty." slug: rclone_rmdir url: /commands/rclone_rmdir/ # autogenerated - DO NOT EDIT, instead edit the source code in cmd/rmdir/ and as part of making a release run "make commanddocs" --- # rclone rmdir Remove the path if empty. ## Synopsis Remove the path. Note that you can't remove a path with objects in it, use purge for that. ``` rclone rmdir remote:path [flags] ``` ## Options ``` -h, --help help for rmdir ``` See the [global flags page](/flags/) for global options not listed here. ## SEE ALSO * [rclone](/commands/rclone/) - Show help for rclone commands, flags and backends.