Is there any method ignore onedrive and continue to capture

Comments, questions, bug reports, etc.
Post Reply
suresh_sairam
Posts: 7
Joined: Sun Apr 26, 2020 2:48 pm

Is there any method ignore onedrive and continue to capture

Post 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.
synchronicity
Site Admin
Posts: 472
Joined: Sun Aug 02, 2015 10:31 pm

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

Post 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.
suresh_sairam
Posts: 7
Joined: Sun Apr 26, 2020 2:48 pm

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

Post 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.
synchronicity
Site Admin
Posts: 472
Joined: Sun Aug 02, 2015 10:31 pm

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

Post 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.
Post Reply