Timeline for How to recursively delete a dir after find
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 15, 2023 at 17:40 | comment | added | Stéphane Chazelas |
ITYM something like LC_ALL=C find . '(' -path '*/DIR-NAME/*' -o -name DIR-NAME -type d ')' -delete.
|
|
| Nov 21, 2018 at 15:48 | review | Suggested edits | |||
| Nov 21, 2018 at 17:40 | |||||
| Dec 23, 2014 at 21:17 | comment | added | Andy | Wow, sure missed that argument. I'd suggest then " find . -name "DIR-NAME" -type d -exec rm -rf {} ';'" and I'll see myself out. | |
| Dec 23, 2014 at 21:02 | history | answered | Andy | CC BY-SA 3.0 |