raspi occasionally creates weird folders under /root with incomprehensible names:
drwx------ 3 root root 4.0K Jul 7 2022 ''$'\033''[?25h'$'\033''[?7h'/
You can’t easily delete the folder with rm -rf.
First, you need to find the inode to the folder:
# ls -ihalF
total 80K
15 drwx------ 11 root root 4.0K Apr 18 10:42 ./
2 drwxr-xr-x 18 root root 4.0K Jul 21 08:34 ../
524545 drwx------ 3 root root 4.0K Jul 7 2022 ''$'\033''[?25h'$'\033''[?7h'/
So in this case the inode is 524545
Use ‘find’ to get rid of it:
find . -maxdepth 1 -type d -inum 524545 -exec rm -rf {} \;
Folder is now deleted