mirror of
https://github.com/bin456789/reinstall.git
synced 2025-01-19 04:49:13 +08:00
windows: 限制find搜索文件,修复把整个驱动文件夹复制进boot.wim的问题
This commit is contained in:
parent
ce261d780f
commit
297f834936
3
trans.sh
3
trans.sh
@ -487,9 +487,10 @@ EOF
|
|||||||
[ -n "$path" ] && filter="-ipath $path" || filter=""
|
[ -n "$path" ] && filter="-ipath $path" || filter=""
|
||||||
find $src \
|
find $src \
|
||||||
$filter \
|
$filter \
|
||||||
|
-type f \
|
||||||
-not -iname "*.pdb" \
|
-not -iname "*.pdb" \
|
||||||
-not -iname "dpinst.exe" \
|
-not -iname "dpinst.exe" \
|
||||||
-exec /bin/cp -rf {} $dist \;
|
-exec /bin/cp -rfv {} $dist \;
|
||||||
}
|
}
|
||||||
|
|
||||||
# 添加驱动
|
# 添加驱动
|
||||||
|
Loading…
x
Reference in New Issue
Block a user