wimlib-imagex capture "/home/shares/" "/mnt/external/shares.wim" "Shares `date`" --unix-data --compress=lzx --threads=4
Scanning "/home/shares/"
102 GiB scanned (109241 files, 11767 directories)
Using LZX compression with 4 threads
[ERROR] Can't open "/home/shares//scanner/doc00546220160208114158.pdf": No such file or directory
ERROR: Exiting with error code 47:
Failed to open a file.
Creating archives from directory trees which are being concurrently modified is not supported. There are many race conditions which can occur in such scenarios.