title: How to use gnu_parallel to run an executable from a list of files?
body: <p>I am currently learning to use the gnu_paralle. I have read <a href="https://www.gnu.org/software/parallel/man.html#EXAMPLE:-Working-as-xargs--n1.-Argument-appending" rel="nofollow noreferrer">https://www.gnu.org/software/parallel/man.html#EXAMPLE:-Working-as-xargs--n1.-Argument-appending</a></p>
  
  <p>and also a few other resources and had some success learning the syntax.</p>
  
  <p>At this moment, I have a g++ compiled executable which takes in an *argv. I currently run it in series by doing the following in bash:</p>
  
  <pre><code>cd ./ &amp;&amp; find ./data | grep '\.data.format$' &gt; datalist.tmp;
  </code></pre>
  
  <p>I then read this list of files in the following order</p>
  
  <pre><code>while read LINE; do executable $LINE; done &lt;datalist.tmp
  </code></pre>
  
  <p>Now. From reading gnu_parallel documentations I understood that processing the executable in multiple instances can be paralleled. </p>
  
  <p>Will someone help with the syntax here please?</p>