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
  • liked the egrep solution. however, as it is it searchs for >>>>>>>>> and I need to move files with > 9 times not necessarily grouped, but anywhere in the file. what can I do? Commented Apr 2, 2020 at 20:20
  • 1
    This does answer the question as stated. However there is the bug that @JeffSchaller found. Time for another question. Commented Apr 2, 2020 at 20:26
  • I've updated with a solution that'll work regardless of separating characters/newlines. Commented Apr 2, 2020 at 20:52