tags:

views:

139

answers:

5
A: 

Try:

git rm "./\033[A.tex"

That will look in your current directory.

Or try typing ./\033 then pressing tab to autocomplete in some shells.

samoz
+1  A: 

Does any of the following work?

git rm "\\033[A.tex"
git rm "\*A.tex" (assuming this pattern matches no other files)
git rm "*A.tex" (same assumption)
Splash
This command works: git rm "\*A.tex" (assuming this pattern matches no other files).
Masi
If somebody knows a more secure solution, please add a new answer.
Masi
A: 

It will work this way for sure.

git rm \\033\[A.tex

No assumption needed. There is a pattern followed to identify such challenging names(can't find where its documented). But this will work.

EDIT

For more chalenging name

git rm "\"\\033[A.tex\""
simplyharsh
I run your updated command unsuccessfully.
Masi
A: 

Update:

git rm \"\\033\[A.tex\"
Robert Munteanu
I worked on a local git repo, so works here. What OS/shell are you running?
Robert Munteanu
I use OS X Leopard, Git 1.6.3.3. - Please, see my edit in my question: the filename is more challenging than I first thought.
Masi
Nice :-) See the updated answer.
Robert Munteanu
+1  A: 

Single quotes should help:

git rm '"\\033\[A.tex"'
Alan Haggai Alavi