MINGW64 可以让 Windows 无缝使用 Linux 命令,但是路径参数会被转换为 Windows 风格。例如:
$ ./adb shell ls /system
ls: C:/Program: No such file or directory
ls: Files/Git/system: No such file or directory
为了禁止转换,可以使用:
export MSYS2_ARG_CONV_EXCL=*
之后再运行就能成功执行
$ ./adb shell ls /system
apex
app
bin
build.prop
cust
data-app
etc
fonts
framework
lib
lib64
media
merge_config_other_item_list
merge_config_system_item_list
merge_config_system_misc_info_keys
priv-app
product
system_ext
usr
vendor
xbin
参考文档
https://www.msys2.org/docs/filesystem-paths/
标签:禁用,app,system,MINGW64,merge,ls,config,Bash From: https://www.cnblogs.com/mkckr0/p/16831905.html