rclone rmdir

Remove the empty directory at path.


This removes empty directory given by path. Will not remove the path if it has any objects in it, not even empty subdirectories. Use command rmdirs (or delete with option --rmdirs) to do that.

To delete a path and any objects in it, use purge command.

rclone rmdir remote:path [flags]


  -h, --help   help for rmdir

Important Options

Important flags useful for most commands.

  -n, --dry-run         Do a trial run with no permanent changes
  -i, --interactive     Enable interactive mode
  -v, --verbose count   Print lots more stuff (repeat for more)

See the global flags page for global options not listed here.


  • rclone - Show help for rclone commands, flags and backends.
Platinum Sponsor

Gold Sponsor

Share and Enjoy