0

I have copied a temp page over to my staging area and I cannot remove it.

bash: syntax error near unexpected token `('

src/app/components/hotels/hotelsFactory (copy).js

I have tried all escaping using backslash but connot seem to remove it:

rm src/app/components/hotels/hotelsFactory (another copy).js

ottz0
  • 2,595
  • 7
  • 25
  • 45
  • Why am I voted down on something that I clearly don't know and that someone has understood and I have followed their directions and solved the problem? – ottz0 Nov 26 '15 at 11:09

1 Answers1

0

You just have to quote the name. Have a look at this answer.

In your case will be:

git rm "src/app/components/hotels/hotelsFactory (another copy)".js
Community
  • 1
  • 1
IlGala
  • 3,331
  • 4
  • 35
  • 49