Purge directory content but do not purge directory itself

Using SFTP/SSH.

Is it possible? I don't manage to do that

Thanks

rclone delete --rmdirs

1 Like

as far as i know, sftp does not support purge.
so, rclone purge is equivalent to these two commands.

rclone delete remote:dir --rmdirs
rclone rmdir remote:dir

https://rclone.org/overview/#optional-features

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