Find the particlular file recursively and delete from terminal

First, check the files by the following command to confirm your searched files:

find FOLDER/PATH -name '*.log'

Now run the following command to delete:

find FOLDER/PATH -name '*.log' -delete

 

This command will delete the file containing “.log” extension.

Related Articles

Install wp-cli on windows

WP-CLI is a set of command-line tools for managing WordPress installations. You can update plugins, configure multisite installs and much more, without using a web browser.

So I am going to tell you short, simple and easy way that how to use wp-cli on windows system.