Remove certain files recursively in Linux


/ Published in: Bash
Save to your folder(s)

Example code would remove all files/folders recursively starting from the current folder named file_name


Copy this code and paste it in your HTML
  1. $ rm -rf `find . -type d -name file_name`

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.