How do I delete all the contents of a folder?

Sounds fair.

Can implementing rclone delete --rmdirs break anything? If not, then I'd request you implement it.

Sure! Can you please make a new issue on github about it please?

1 Like

Done.

Is rmdirs supposed to remove the path (if it's empty)?

For example, there are two empty folders inside folder

remote:folder/folder1
remote:folder/folder2

Is rclone rmdirs remote:folder supposed to delete folder along with folder1 and folder2?

Yes it is. There is a --leave-root option.

1 Like

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