Month: November 2013

  • How to move files starting with special chars as dashes

    If it has come that you have tried to scape, enclose or do whatever to files starting with for example a dash, so as you can rename it, or copy it or scp it and didn’t find out how, this is how you can do it:

    mv -file-with-a-dash file-without-dash

    #one of the possible ways

    mv ./-file-with-a-dash file-without-dash