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
  • Don't you need to pair xargs -0 with find ... -print0? Commented Feb 13, 2018 at 19:47
  • I was really confident that this would work actually, by adding -type f -print0 | xargs -0, but unfortunately I still get the same error. Commented Feb 13, 2018 at 19:58
  • I think the find $(...) part is the problem here. You're interpolating a massive thing. Try restructuring this to pipe the result of the first find into the second somehow. Commented Feb 13, 2018 at 20:05