Tuesday, December 5, 2023

WSL/Bash: Removing Zone.Identifier

 

I copied files from an Ubuntu VM to laptop's WSL and suddenly all the files were garnished by Zone.Identifier. After some nudging, ChatGTP provided the following:

find . -type f -name '*:Zone.Identifier' -exec rm '{}' \;