• Digit@lemmy.wtf
        link
        fedilink
        English
        arrow-up
        2
        ·
        28 days ago

        Oh hey, seeing that has just given me another idea (not sure if anyone else mentioned this yet elsewhere further down in the conversation… but…)

        Tried just using a unique portion of the name that’s easy to type, along with asterisks for the rest? e.g. rmdir *old*00* (or rm -r if it’s not an empty dir you want rid of).

      • Successful_Try543@feddit.org
        link
        fedilink
        arrow-up
        1
        ·
        28 days ago

        As the other commenters and I have mentioned, you should try escaping any of the special characters ', $, and \ by a backslash, i.e. \', \$ and \\