Skip to content

Delete Zone.Identifier Files in WSL

Find all zone.identifier files in your projects

Section titled “Find all zone.identifier files in your projects”
Terminal window
find ~/projects/ -name "*:Zone.Identifier" -type f
Terminal window
find ~/projects/ -name "*:Zone.Identifier" -type f -delete

Add to .gitignore to prevent committing them

Section titled “Add to .gitignore to prevent committing them”
Terminal window
echo "*.zone.identifier" >> ~/.gitignore_global
git config --global core.excludesfile ~/.gitignore_global