Page 1 of 1

Is there any method ignore onedrive and continue to capture

Posted: Sun Apr 26, 2020 3:13 pm
by suresh_sairam
Need to Exclude the one folder from the single drive while capturing Multiple drive. Config file consider only directory name, as it wont consider the complete path.

Re: Is there any method ignore onedrive and continue to capture

Posted: Sat May 02, 2020 4:19 pm
by synchronicity
Did you check the documentation for wimcapture? If you list a path beginninng with "\" in "[ExclusionList]", like "\Windows\CSC", then the directory "$dir\Windows\CSC" will be excluded where "$dir" is the directory passed to wimcapture. It's only if you don't list a leading "\" that the match is done on the filename only.

Re: Is there any method ignore onedrive and continue to capture

Posted: Sun May 03, 2020 2:04 pm
by suresh_sairam
Thank you for reply sir. I want to exclude C:\onedrive, in Exclusion list it will considers only \onedrive. We want to capture C,E,D drive where E:\onedrive,D:\onedrive will also excluded. Please suggest the method where Exclusion will consider full path like C:\onedrive , instead of only \onedrive.

Re: Is there any method ignore onedrive and continue to capture

Posted: Sun May 03, 2020 4:16 pm
by synchronicity
If you're using the --source-list option to capture all these drives at once, then I don't think there's any way to do that currently, as the excluded paths are always matched relative to each top-level directory being captured. But if you're using a separate wimlib-imagex command to capture each drive (e.g., wimcapture followed by wimappend; or wimcapture followed by wimupdate), then you just use a different config file for each one.