1 [[!meta author="""http://kerravonsen.dreamwidth.org/"""]]
3 [[!meta authorurl="""http://kerravonsen.dreamwidth.org/"""]]
5 [[!meta title="""change to forum/Need_something_more_powerful_than_Exclude on ikiwiki"""]]
7 [[!meta permalink="http://ikiwiki.info/recentchanges/#change-78a2e59834d35da7a7ab8145beb7a30b59b95c90"]]
9 <div id="change-78a2e59834d35da7a7ab8145beb7a30b59b95c90" class="metadata">
10 <span class="desc"><br />Changed pages:</span>
11 <span class="pagelinks">
13 <a href="http://git.ikiwiki.info/?p=ikiwiki;a=blobdiff;f=doc/forum/Need_something_more_powerful_than_Exclude.mdwn;h=5e8043258d7aa29acf6e4edbdf63a96c7c2bc68f;hp=0000000000000000000000000000000000000000;hb=78a2e59834d35da7a7ab8145beb7a30b59b95c90;hpb=47726461a4119741affa6536deec7dd1fe52ef0d" title="diff" rel="nofollow">[[diff|wikiicons/diff.png]]</a><a href="http://ikiwiki.info/ikiwiki.cgi?page=forum%2FNeed_something_more_powerful_than_Exclude&do=goto" rel="nofollow">forum/Need something more powerful than Exclude</a>
17 <span class="desc"><br />Changed by:</span>
18 <span class="committer">
20 <a href="http://kerravonsen.dreamwidth.org/" rel="nofollow">kerravonsen [dreamwidth.org]</a>
23 <span class="desc"><br />Commit type:</span>
24 <span class="committype">web</span>
25 <span class="desc"><br />Date:</span>
26 <span class="changedate"><span class="relativedate" title="Tue, 23 Nov 2010 02:47:38 +0000">02:47:38 11/23/10</span></span>
27 <span class="desc"><br /></span>
31 <a href="http://ikiwiki.info/ikiwiki.cgi?rev=78a2e59834d35da7a7ab8145beb7a30b59b95c90&do=revert" title="revert" rel="nofollow">[[revert|wikiicons/revert.png]]</a>
34 <div class="changelog">
37 exclusion doesn't exclude<br />
44 diff --git a/doc/forum/Need_something_more_powerful_than_Exclude.mdwn b/doc/forum/Need_something_more_powerful_than_Exclude.mdwn
46 index 0000000..5e80432
48 +++ b/doc/forum/Need_something_more_powerful_than_Exclude.mdwn
50 +When I originally looked at the "exclude" option, I thought it meant that it excluded pages completely, but it apparently doesn't. What I've found in practice is that a file which matches the "exclude" regex is excluded from *processing*, but it is still copied over to the destination directory. Thus, for example, if I have "^Makefile$" as the exclude pattern, and I have a file `src/foo/Makefile`, then that file is copied unaltered into `dest/foo/Makefile`. However, what I want is for `src/foo/Makefile` to be completely ignored: that it is not only not processed, but not even *copied* into the destination directory.
52 +I'm not sure if the current behaviour is a bug or a feature, but I would like a "totally ignore this file" feature if it's possible to have one.
54 +-- [[KathrynAndersen]]
59 <!-- 78a2e59834d35da7a7ab8145beb7a30b59b95c90 -->