Delete Zone.Identifier files in WSL
TL;DR: Run the following code snippet in the WSL command line from the directory where the Zone.Identifier files are located.
I use a Windows laptop and rely on WSL (Windows Subsystem for Linux) for my daily work as a software engineer.
One day, I needed to download some design resources from Figma. These resources were initially saved in Windows’ Downloads directory, so I had to cut and paste them into my project directory in WSL.
However, some unexpected files with the Zone.Identifier
suffix were also pasted.
If you encounter the same situation, follow these steps:
- Open the WSL directory where you pasted the files
- Press
Shift
+ right-click - Choose
Open Linux shell here
- Run the command mentioned right after TL;DR above
After completing these steps, the Zone.Identifier
files should be removed from the directory.