use rclone to delete only file type included:
* –by-hash: find duplicated content in file by md5 hash
* –dedupe-mode first: keep the fist file found and delete rest of other

cli code as below:

rclone dedupe dav:/Files --by-hash --dedupe-mode first

Tal