Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

On a Mac, apparently it's safer to let the Finder handle it.

    # Move deleted files to macOS user trash (safer)
    trash () {
      command mv "$@" ~/.Trash ;
    }


I don’t see how this would have helped in this case.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: