Exclude directories from tar archive with a .tarignore file
<p>In a similar way to <code>.gitignore</code>, is it possible to do that a <code>.tarignore</code> file in a subdirectory makes it excluded from archive when doing</p>

<pre><code>tar cfjvh backup.tar.bz2 .
</code></pre>

<p>(I know the <code>--exclude</code> parameter of <code>tar</code> but here it's not what I want).</p>