Hi there!
I have corrupted file in my config folder as you can see on this screenshot:
when I try to delete them, windows 10 prompts “File name too long or invalid file name syntax”,
I found some workaround online to delete them from powershell but that neither work.
Is there a way to deal with this? Through SSH maybe?
Try renaming it to to broken.db then delete it
I tried but any operation on these files through windows 10 prompts “File name too long or invalid file name syntax”
CLI indeed… go to the prompt with ssh and remove them.
Yep, in that case the home assistant ssh addon or any other terminal you have setup already
thanks all,
it worked through ssh.
note for people in the same case in the future:
to delete a file in the config folder:
config rm yourfilename
to paste from windows clipboard in the ssh terminal:
shift+insert
2 Likes
Masteroshi:
shift+insert
ctrl +shift+v seems to work for pasting in most terminals also.
1 Like