In your error message you have
however in the comments you've mentioned the line
Notice the space between
projects. This is the core of the issue.
[ command ( and yes, that's a command also known as
test, not just a bracket ) the
-f operator expect a single argument after it. The space makes the line appear as if there are two arguments after
-f. Thus, the issue should be fixed via either quoting the path or by escaping the space with backslash as in
Spaces in command line serve as word separators, and if they are not escaped or quoted the shell will treat the line as more words than wht you intended. Among other things, this is also one of the reasons why you should quote variables - without double quotes word splitting on whitespace, newline, or tab (because such is the default value of
IFS variable which shell consults for word splitting) will be applied.