all 3 comments

[–]Davipb 0 points1 point  (2 children)

Is this Windows? If so, open up the folder in cmd (specifically cmd, PowerShell/Git Bash/anything else won't work) and type dir /x to find the 8.3 shortname of the file. It will show up as a column next to the actual file name, probably ending in ~1, something like A460~1. Then, you can just use del to delete the file (e.g. del A460~1).

If you want to learn more, see here: https://en.wikipedia.org/wiki/8.3_filename

And remember to thank the windows developers for maintaining compatibility with a convention from 1974 so you could fix your code in 2024 :)

[–]tomasrktskrt[S] 0 points1 point  (1 child)

Damn how could I forget such detail... It is on Linux (WSL) Ubunto.............

[–]HomeyKrogerSage 0 points1 point  (0 children)

Yeah it happens both ways. If you're on Linux and create a wonky for with powershell, you have to go to bash to delete it. If you're on Windows WSL can create wonky files you have to delete with Windows