[NTLUG:Discuss] delete a weird file
Victor Brilon
victor at vail.net
Thu Jan 16 09:42:06 CST 2003
Double the backslash to escape it. I.E., 'rm \\aaa\\bbb.cc'
According to the bash man page:
A non-quoted backslash (\) is the escape character. It
preserves the literal value of the next character that
follows
Victor
m m wrote:
>
> Hi all:
>
> I uploaded a file via a webpage. I guess that I typed a 'wrong' file
> name. and now there is a file with file name "\aaa\bbb.cc" (no quote but
> \, if see from M$, it displays the file name as aaabbb.cc)
> I want to rm or mv. but it just don't work. it still there.
> I have tried
> mv \aaa\bbb.com
> mv aaabbb.com
> rm -f \aaa\bbb.com
> rm -f aaabbb.com
> I know the "\" cause the problem, but how do I get rid of this file?
>
> thanks.
>
>
>
>
> _________________________________________________________________
> Add photos to your e-mail with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail
>
>
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
>
More information about the Discuss
mailing list