Comments, questions, bug reports, etc.
- Posts: 7
- Joined: Mon Sep 10, 2018 11:18 pm
How do I have to configure the %config-file% section [ExclusionList] to keep wimlib-imagex from capturing certain files from the %source-list%?
I tried to exclude two files by this:
; ---------- wildcard
; ---------- slash
; ---------- backslash
; ---------- path
but excluded files were still captured. What's wrong?
Best regards T.
Last edited by Tokener
on Sat Jul 03, 2021 2:06 pm, edited 1 time in total.
- Site Admin
- Posts: 335
- Joined: Sun Aug 02, 2015 10:31 pm
[ExclusionList] works with --source-list, so I'm not sure what went wrong for you.
One caveat is that if you use an absolute path glob (one beginning with / or \ -- note, it doesn't matter which type of slash you use), it will match separately from each source directory.
So for example if you have:
Code: Select all
... the files /a/dir/foo.txt, /b/dir/foo.txt, and /c/dir/foo.txt would be excluded, as would any file called bar.txt.