Linux下查询文件类型非*.jpg的并删除

来源:互联网 发布:python cad二次开发 编辑:程序博客网 时间:2024/06/05 02:47
find ./ -type f -not -name "*.jpg"|xargs -i rm {}
0 0
原创粉丝点击