linux 实现删除当前目录下除指定文件外的其他文件

rm !(file1|file2|file3)

posted @ 2022-11-04 10:43  14789ztt  阅读(29)  评论(0)    收藏  举报