Anyone know a command to delete all of a file type from a drive?

Pretend I wanted to delete all .nfo files, is there a command that I can use to do that?

Thanks!

Like this. Delete the --dry-run when happy

rclone -v delete --dry-run --include "*.nfo" remote:path
1 Like