R
R
Roman2019-01-05 20:14:11
Windows
Roman, 2019-01-05 20:14:11

How to delete identical folders by specified mask?

Good afternoon!
There is a directory, it has more than 2.000 folders, in each folder there are folders, let's say named 150x100 - I need to go through the whole directory and delete the folders named 150x100. How/how can this be done?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem @Jump, 2019-01-05
@RGBPlus

Well, if windows, then explorer -
In the search bar, type 150x100 or another desired name, and press search, then select all found CTRL +A and press the Delete key. Wildcard characters are allowed in the search string.
If you are used to the console and / or writing batch files does not scare you, then RD /S /Q имя_папки
in the case when you need a template, you can use this design FOR /D %I IN (шаблон) DO RD %I
. You can also depict it on Python, Perl, Powershell, JS, VBS, rummage through file dumps and find a utility specifically for deleting folders named 150x150, and hundreds more ways.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question