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
  • Thanks. This answer is probably the easiest to understand. sed and xargs were the two things I was missing. I had the right conceptual stuff, just not the commands to do it. xargs seems like a really powerful command. Commented Oct 2, 2015 at 3:55
  • yes, xargs is extremely useful. Commented Oct 2, 2015 at 3:57
  • 1
    using xargs is also more efficient than a for or while etc loop around touch - it executes only one touch command per many hundreds of filenames rather than one touch per filename. Commented Oct 2, 2015 at 4:07
  • Wow that's waaaaay more efficient. Thanks for the help. Commented Oct 2, 2015 at 4:49