window無法刪除目錄層次太深
有位同事不知如何產 生了一個有一百多層子目錄的檔案,查找 google 後用 winrar , 7zip , cmd 檔的 del , rmdir 都無法刪掉, 後來找到 rimraf 才刪除,原理說它是照 linux 系統規範沒有長度限製,才可以,方法如下:
- 到 https://nodejs.org 下載 node.js 安裝,裏面有 npm 指令
- 安裝 rimraf 指令
npm install -g rimraf
rimraf 刪除目錄 , (同事目錄執行後約 10 秒,才有反應刪除)tc
迴響
既然是 Linux ,那能不能將那一個目錄的父目錄分享出來,然後在Linux 系統 mount 起來
mount -t cifs -o user=user -o password="" \\\\10.0.0.1\\driver /mnt
然後用 rm -Rf /mnt/該目錄 將它刪掉
有機會試試
window無法刪除目錄層次太深 | 豬窩
What's up, just wanted to say, I enjoyed this article.
It was inspiring. Keep on posting!
window無法刪除目錄層次太深 | 豬窩
Cbd oil that works 2020
hello there and thank you for your information – I have certainly picked up anything new
from right here. I did however expertise a few technical issues using this website,
as I experienced to reload the site many times previous to I could get it to load correctly.
I had been wondering if your web host is OK? Not that I am complaining, but slow loading instances times will sometimes affect your placement in google and can damage your quality score if ads and marketing
with Adwords. Anyway I am adding this RSS to my e-mail and could
look out for much more of your respective fascinating content.
Make sure you update this again very soon. best cbd oil for pain http://bit.ly/3drY6lE cbd oil that works 2020 http://bit.ly/3drY6lE
window無法刪除目錄層次太深 | 豬窩
I blog frequently and I truly appreciate your information. Your article has really peaked my interest.
I will bookmark your blog and keep checking for new details about
once a week. I subscribed to your Feed too.
window無法刪除目錄層次太深 | 豬窩
I could not refrain from commenting. Perfectly written!