跳至主要内容

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


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

' {} ';'

评论

此博客中的热门博文