title: Bash: parallelize md5sum checksum on many files
body: <p>lets say, I have a 64-core server, and I need to compute <code>md5sum</code> of all files in <code>/mnt/data</code>, and store the results in a text file:</p>
  
  <pre><code>find /mnt/data -type f -exec md5sum {} \; &gt; md5.txt
  </code></pre>
  
  <p>The problem with the above command is, that only one process runs at any given time. I would like to harness the full power of my 64-cores. Ideally, I would like to makes sure, that at any given time, 64 parallel <code>md5</code> processes are running (but not more than 64).</p>
  
  <p>Also. I would need output from all the processes to be stored into one file.</p>
  
  <p>NOTE: I am not looking for a way to compute <code>md5sum</code> of one file in parallel. I am looking for a way to compute 64 md5sums of 64 different files in parallel, as long as there are any files coming from <code>find</code>.</p>