Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • @don_crissti I thought about that too, but a couple checks indicated it would would go the whole way anyway, where read wouldn't. Some other things I tried were find ... -ok OK \; -prune but I still can't figure out how -prune is actually supposed to work *(last time I tried that lesson was more than a year ago and I remember it as less than pleasant). Also find ... -exec kill 0 \; and find ... -exec sh -c 'kill \$PPID' \;. Mostly I just didn't care to write them up - read isn't special, probably. Commented Mar 26, 2015 at 18:58
  • I'm not sure this could be done with -prune (if there is a way, it's definitely beyond me). This post gives some details on how -prune works. Commented Mar 26, 2015 at 19:49