A year ago I wrote an article where it showed how, search, select and delete multiple files using Midnight commander, or as many of us know it: MC.
In this other article we will do the same procedure (so we take advantage and refresh it), but I will show you how to filter, select and eliminate the results according to a specific criterion.
Let's go to trouble. We open a terminal and enter with MC to the device USB, which will be called FlashDriver, and will be mounted on /half for example:
$ mc /media/FlashDriver
Now let's Utilities »Find Files
We should get something like this:
and where does it say Archives we remove the * and we put the name of what we want to delete, for example .Thumbs, the hateful files generated by Windows.
We can of course use asterisks to filter the search, for example: * Thumbs o Thumbs *.
For the example images I used the word ubuntu. It should be noted that it will not be the same to search ubuntu that Ubuntu. The results are displayed as follows:
Now we mark the option: Take to panel
and as you can see in the image above, all the files found were placed in the left panel. Now with the key Insertion we are selecting everything. Then we press F8 already delete has been said.
So far what I showed in the old article, but we are going to expand it a little more, making it easier for us to erase. Let's say that I have searched for all the images that I have inside a folder that have the format . JPG. We get something like this:
For this we go to the Superior Menu ( F9 ) »File» Select Group ( + )
We wrote * Android * with the asterisks:
And automatically all the files that meet this requirement are selected:
Now we can Delete, Move or Copy them. We can also do the Inverse Selection ( * ). And ready!