栗子: 不删除 logs文件夹和credential文件夹 1. rm -rf !(logs|credential) 2. ls | grep -v logs |grep -v credential |xargs rm -rf 来源:https://www.cnblogs.com/bierenbiewo11/p/11046806.html 标签 grep 射频