跳至主要内容

linux for遇到有含空格文件名的问题


find ./book -type f -name '*.txt' -exec sh -c '
        file="$0"
        echo "$file"

' {} ';'

评论

此博客中的热门博文

shadowsocks android编译

git clone https://github.com/shadowsocks/shadowsocks-android.git cd shadowsocks-android git submodule update --init --recursive chmod a+rwx ./ -R docker run --rm -v ${PWD}:/build -w /build shadowsocks/android-ndk-go ./gradlew assembleDebug