General discussion

  • Creator
  • #2073933

    escape sequence for rename of filename


    by alan ·

    This probably should be simple, but I haven’t resolved it yet. I have a file that was accidentally created (bad syntax in tar) that is “-C” (w/o quotes). Any attempts to rename via mv yields soem type of illegal option error. I’ve tried using \ to rename, single quotes, single character, and wildcard to get it into a name I can remove. This is through csh under Solaris 2.6 via a character based connection (no keyboard/monitor on the Ultra Sparc).
    Commands used: mv \-C junk mv ‘-C’ junk mv \’-C junk
    and other variations – nothing seems to work.

All Comments

Viewing 0 reply threads