A directory named ~ appeared in a folder under ~/Projects/myproject/~.Doing ls -al ~/Projects/myprojectdrwxr-xr-x   3 myuser  staff      102 20 Sep 11:32 ~I don't want to try removing it with rm because I have a feeling it will remove my whole home dir.Is there any safe way to get rid of it, or any ideas on how it got there in the first place?
Directory '~' ended up in one of my folders
files;filenames;rm
You can explicitly indicate the ~ file on current directory by preceding it with ./:cd ~/Projects/myprojectrm ./~Or just use the full path:rm ~/Projects/myproject/~