Filter on file type and Delete

Hello,

new here :slight_smile:

Quick question: is there a way to delete only certain file types within Google Drive or Amazon Cloud Drive?

For example, I want to delete all images (*.jpg, *.png, etc.) from a certain folder.

Is this possible?

Thank you!

1 Like

Should be able to do it with this:

rclone delete location:/folder/ --include '*.{jpg,png,etc}'

I can’t try it what with the acd api outage at the moment, but that should work.

1 Like

Thank you!

I’ll try it as soon as I can (also waiting for the ACD API issue to be resolved).

1 Like