我的结构如下:
├── Proj 1
│ ├── .git
│ ├── LICENSE
│ ├── README.md
│ └── example.cpp
├── Proj 2
│ ├── .git
│ ├── root_folder
│ └── README.md
├── Proj 3
│ ├── .git
│ ├── root_folder
│ └── README.md
...
为什么当我执行 rm -ri\.git
时它说:
rm: cannot remove `.git': No such file or directory
最佳答案
你可以试试
rm -ri */.git
(不确定那是你想要的)
关于linux - 递归删除同一级别Linux上文件夹内的目录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23508971/