- 论坛徽章:
- 6
|
本帖最后由 RE_HASH 于 2016-07-02 00:22 编辑
我没有视频文件,举个image 例子
$> find |xargs file|less
在列表里copy确认文件类型, 你可能有video..., 我的image...
$> find |xargs file|grep -i image
./pp/tt2.png: PNG image data, 1005 x 1100, 8-bit/color RGBA, non-interlaced
./pp/tt1.png: PNG image data, 1005 x 1100, 8-bit/color RGBA, non-interlaced
./pp/tt.png: PNG image data, 1388 x 792, 8-bit/color RGBA, non-interlaced
得到文件名字
$> find |xargs file|grep -i image|cut -f1 -d:
./pp/tt2.png
./pp/tt1.png
./pp/tt.png
拷贝到target/目录
$> cp $(find |xargs file|grep -i image|cut -f1 -d:) target/
|
评分
-
查看全部评分
|