linux 删除文件,某个文件例外

# shopt -s extglob      (打开extglob模式)
# rm -fr !(file1)
posted @ 2017-06-21 15:52  Yeah,程序猿  阅读(725)  评论(0编辑  收藏  举报