linux复制文件夹中前10个文件
ls |head -n 10 |xargs -i cp -r {} /target
find . -maxdepth 1 -type f |head -10 |xargs cp -t "$destdir"
linux复制文件夹中前10个文件
ls |head -n 10 |xargs -i cp -r {} /target
find . -maxdepth 1 -type f |head -10 |xargs cp -t "$destdir"