再加一个条件,删除共享文件夹里面的压缩文件中,以压缩文件命名外的所有.dentalCAD格式的文件
时间: 2024-02-09 18:10:52 浏览: 102
好的,您的问题是如何在共享文件夹中删除压缩文件以外的所有.dentalCAD格式的文件?如果是这样的话,您可以使用以下命令来实现:
```
find /path/to/shared/folder -type f ! -name "*.zip" -name "*.dentalCAD" -delete
```
这个命令将在指定的文件夹中查找所有不是.zip文件但是是.dentalCAD格式的文件,并将其删除。请注意,这是一个非常强大的命令,因此请确保您知道自己在做什么并且已经备份了所有重要文件。
相关推荐
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![gz](https://img-home.csdnimg.cn/images/20210720083447.png)
![dmg](https://img-home.csdnimg.cn/images/20210720083646.png)
![exe](https://img-home.csdnimg.cn/images/20210720083343.png)
![dmg](https://img-home.csdnimg.cn/images/20210720083646.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)