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.

2
  • 1
    Won't `-exec mv {} /your/target/directory \;' instead of '-print 0 | xargs -0 cp -t /your/target/directory' work just as good regarding problems with spaces in names? (Also, the OP wanted to move not copy) Commented May 24, 2015 at 22:10
  • ^^ Yes. Both achieve the same objective. Commented May 25, 2015 at 0:41