Rclone delete "unknown flag: --rmdirs"

I tried to delete the content and its directory as suggested in rclone delete

but I'm having the error below;

root@oci:/home/ubuntu# rclone delete remote:/backup/testDIR --rmdirs
Error: unknown flag: --rmdirs
  rclone delete remote:path [flags]

  -h, --help   help for delete

Use "rclone [command] --help" for more information about a command.
Use "rclone help flags" for to see the global flags.
Use "rclone help backends" for a list of supported services.

2021/04/24 12:38:30 Fatal error: unknown flag: --rmdirs

rclone v1.50.2

  • os/arch: linux/amd64
  • go version: go1.13.6


update rclone to latest stable and test again.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.