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*

3
  • 2
    Assuming the asker didn't make a mistake when (s)he posted the question, (s)he's after rm Dar*, not rm !(Dar*). Commented Mar 18, 2011 at 21:55
  • ...right, yes, I was stuck in zsh ^ mode (similar to the basg ! thing). Commented Mar 18, 2011 at 21:56
  • 2
    +1 Great answer, I had to add | tr "\n" "\0" before the xargs bit. Seen in this post: stackoverflow.com/questions/20307299/… Commented Jan 29, 2016 at 0:32