Timeline for Use find to find certain directory and delete all files in it except one directory
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 15, 2014 at 16:52 | history | edited | Graeme | CC BY-SA 3.0 | added 6 characters in body |
| Jun 15, 2014 at 16:48 | comment | added | Stéphane Chazelas | Note that for the last one, adding -delete is not enough. You need find Library/Caches \( ! -path '*Snapshots*' -o -type f -name Snapshots \) -delete | |
| Jun 15, 2014 at 7:40 | history | edited | Graeme | CC BY-SA 3.0 | deleted 1 character in body |
| Jun 14, 2014 at 16:26 | history | edited | Graeme | CC BY-SA 3.0 | deleted 5 characters in body |
| Jun 14, 2014 at 15:56 | history | edited | Graeme | CC BY-SA 3.0 | added 54 characters in body |
| Jun 14, 2014 at 15:38 | history | answered | Graeme | CC BY-SA 3.0 |