find-remove icon indicating copy to clipboard operation
find-remove copied to clipboard

Ignore folders by name

Open adame21 opened this issue 5 years ago • 3 comments

Hi, Is there any way to ignore entire folders same as we ignore files ?

Thanks :)

adame21 avatar Jun 16 '20 08:06 adame21

I think so, look here https://github.com/binarykitchen/find-remove#5-delete-recursively-any-subdirectory-called-cvs-within-dist

binarykitchen avatar Jun 17 '20 00:06 binarykitchen

Hi, I looked into the link at example #5 from the documentation. It seems that its giving me the option to specify which folder I want to delete specifically. What im looking for is to not delete ANY folder, rather delete only files and ignore certain folders by name. What I'm thinking right now is the set up a specific delete operation for every path I need, and just not include the folder I want to ignore. It would be pretty tedious as I have a lot of paths and just one single path I would like to ignore. I hope i explained myself properly :) Please let me know if thats possible to ignore a specific path with the current library abilities Thanks!

adame21 avatar Jun 17 '20 07:06 adame21

Ah I get it now.

Sorry, thats too much work. Can't do that now.

Reopened. PRs welcome or I ll do it one day in the future when my kids are older :)

binarykitchen avatar Jun 17 '20 22:06 binarykitchen