linux移动文件夹中前10个文件

linux复制文件夹中前10个文件
ls |head -n 10 |xargs -i cp -r {} /target
linux移动文件夹中前10个文件
ls |head -n 10 |xargs -i mv {} /target