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*

4
  • 1
    There's no reason to use xargs with find. It comes with an -exec option. Can you just add the command you are going to use to your question, and someone can show you the correct find command? Commented Jan 6, 2013 at 1:08
  • yes (as I noted below), so long as I can still do the string manipulation on each result of the find command (e.g. the {} member) Commented Jan 6, 2013 at 6:58
  • actually there are edge cases where xargs is more suitable than exec. See this stackpost stackoverflow.com/questions/896808/find-exec-cmd-vs-xargs for a case in point. Commented Jan 6, 2013 at 7:27
  • @d34dh0r53 What edge case? The thread you link to doesn't point any. Commented Jan 6, 2013 at 21:29