Linux

A collection of 1 post

Remove subfolder with specific name in linux

Remove specific subfolder in linux Sometimes it happens that you just have to delete a subfolder that is duplicated in multiple folders. You can also go folder by folder and try  or you can just use find, exec and then rm, like so: find -type d -name node_modules -exec rm -rf {} \; I’ve used…