• AbidingOhmsLaw@lemmy.ml
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 month ago

    Yep as others have noted put a \ in front of each special character. The \ tells the system to treat the following character as a alphanumeric character in the string and not as a operator or a command. Since ', $ and \ are all special characters you will need a \ just before each when typing this name. Also as mentioned do this with a benign command like ls first to make sure your only acting on that specific directory or you might have a bad day.

    Edit: How the heck did you get some of those folder names? Looks like a script with incorrect variable/macro substitution made these.