• JollyGreen_sasquatch@sh.itjust.works
    link
    fedilink
    arrow-up
    7
    ·
    4 days ago

    A method not yet mentioned is by inode, (I’ve accidentally created filenames I didn’t know how to escape at the time like -- or other command line flags/special characters)

    ls -li

    Once you get the inode

    find . -type f -inum $inode -delete