Skip to content

Instantly share code, notes, and snippets.

@zozobalogh0817
Created November 14, 2021 09:23
Show Gist options
  • Save zozobalogh0817/c9a6ba33ef586031d15ad05bf6ef6e7e to your computer and use it in GitHub Desktop.
Save zozobalogh0817/c9a6ba33ef586031d15ad05bf6ef6e7e to your computer and use it in GitHub Desktop.

When should I use the application ?

When you have a lot of directories created recursivly like at the following examples structure1

What does it exactly ?

It will delete all src folders recursivly (At least in my case, you could delete any folder you whould like :D)

Usage

I had a folder called test at my C:\ drive and in the test folder I had a root folder what contains six sub-folders all the sub-folder has one or more src folder!

structure2

Saying to the script what I whould like to delete (the folder's name like src) type_what_folder_you_whould_like_to_delete Saying to the script where should it look for the previously specified folder where_is_these_folders_located If you runned this script properly you will get a warning that look like this deletion

You will be warned about what folders are exactly deleted !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment