How to delete multiple folders in parallel?
<p>I have two directories on the same level and I can do:</p>

<pre><code>rm -rf dir1/; rm -rf dir2/
</code></pre>

<p>but they will be running sequentially, how could I remove them in parallel? is there a generic solution too which allows me to extend to many folders?</p>

<p><strong>Update</strong></p>

<p>The directories may be deeply nested containing other directories and so on.</p>