Search code examples
clearcase

How to remove a file named "\" in clearcase vob directory?


I have one file named "\" in a directory.
How does it got created, I have no idea.
And this file is creating problem with merge. I am not able to delete this file.

I tried option -- to delete this but nothing works

ct rmname -- \

It just ends with

>

Also the ct ls shows

\@@/main/branch_457/1   Rule: .../branch_457/LATEST

Please suggest how can this type of file can be deleted.


Solution

  • If you are on Unix, you can try and follow the directives from "About special characters in file names on UNIX and Linux"

    ct rmname '/'
    

    Or try escaping the special character:

    ct rmname \/
    

    On Windows, the escape character is '^' (as mentioned in cleartool help page):

    ct rmname ^/