ls -R | tr "\t" "\n" | awk -v a=$(pwd) '{print a"/"$0}' 或者通过名称查找,不过需要知道所有文件的类型 find . -type f -name "*.JPG"