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.

Find the particlular file recursively and delete from terminal Read More »