Skip to content

Latest commit

 

History

History
19 lines (19 loc) · 772 Bytes

README.md

File metadata and controls

19 lines (19 loc) · 772 Bytes

FolderCrawler

A script to delete all files with matching extension (*.png) from numerous folders inside a directory.

How it works

Let's assume you have a following directory tree:

├── dir
│   ├── folder1
│   │   ├── photo1.png
│   │   └── file1.txt
│   ├── folder2
│   │   ├── photo2.png
│   │   ├── photo3.png
│   │   └── file2.txt
│   ├── folder3
│   │   ├── photo4.png
│   │   └── file3.bin
...

If you have ~1000 folders inside dir directory and need to delete only *.png files from every folder inside (all other files are left untouched), the script comes handy and saves tons of time. The script is placed inside dir aside numerous folders.