title: Run command on all files in directory in parallel
body: <p>I have a directory containing multiple files. These files are coming via a network location; the source is sending these file via <code>scp</code> command. I have a batch command that will run for each of these incoming files; this command runs for around 5-6 hours. </p>
  
  <p>I am trying to run below command in by linux box</p>
  
  <pre><code>find  Documents/wget/ -maxdepth 1 -type f -exec btaudip '{}' \;
  </code></pre>
  
  <p>My goal is to start the batch program for all files in the directory simultaneously. but, the above command only run for one file at a time. So, for this I changed this command as below. but it failed.</p>
  
  <pre><code>find  Documents/wget/ -maxdepth 1 -type f -exec btaudip '{}' &amp; \;
  </code></pre>
  
  <p>How should I change the my command for this?</p>