Timeline for How do I remove multiple files with a common prefix and suffix?
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 3, 2013 at 20:26 | comment | added | Lri | At least OS X's find has -print0, but it's not included in POSIX. | |
| Apr 27, 2012 at 6:44 | history | edited | jw013 | CC BY-SA 3.0 |
deleted 18 characters in body
|
| Apr 26, 2012 at 23:09 | history | edited | jw013 | CC BY-SA 3.0 |
Removed unnecessary `xargs` usage and potentially distracting illustration of incorrect `xargs` usage.
|
| Apr 26, 2012 at 15:13 | comment | added | Useless |
Added, cheers. Looks like -delete should be supported on recent GNU and BSD systems, while -print0 is GNU-only. So it's likely more portable too (although it shouldn't make a difference for the OP).
|
|
| Apr 26, 2012 at 15:10 | history | edited | Useless | CC BY-SA 3.0 |
add -delete case
|
| Apr 26, 2012 at 14:08 | comment | added | Dom | If you can, use the -delete option for find, it doesn't fork for each file... | |
| Apr 26, 2012 at 13:53 | history | answered | Useless | CC BY-SA 3.0 |