Featured image of post Windows WSL2 移除 Zone.Identifier 檔案

Windows WSL2 移除 Zone.Identifier 檔案

前言

當我們將 windows 的檔案直接複製到 wsl 裡面時,會出現好多 Zone.Identifier 的檔案

解決方法

移動到對應的資料夾,並且執行,批次刪除:

1
find . -name "*:Zone.Identifier" -type f -delete

原因

詳細原因直接參考連結,感謝!

參考連結

https://www.sulinehk.com/post/reasons-and-solutions-for-the-zoneidentifier-file-appearing-in-wsl/

comments powered by Disqus
Built with Hugo
Theme Stack designed by Jimmy