find

编译之后需要把当前文件夹中可执行文件复制到指定目录

#-type f限定在当前目录,默认会递归搜索子目录,也可以限定为子目录中搜索-type d
find . -perm /+x -type f -exec cp -t /usr/local/redis/ {} +

results matching ""

    No results matching ""