How to remove only one item (a directory) from trash?

Discussion in 'macOS' started by -aggie-, Dec 28, 2009.

  1. -aggie- macrumors P6

    -aggie-

    Joined:
    Jun 19, 2009
    Location:
    Where bunnies are welcome.
    #1
    Anyone know if this can be done (remove a directory in trash)? I've tried going into Terminal and using rmdir and dragging the folder I want deleted to Terminal, but it says the folder is not empty, and doesn't delete it. Using rm and dragging deletes other than folders, but how to do this for folders escapes me (unless I go and delete all the contents, which would be a PITA).
     
  2. SilentPanda Moderator emeritus

    SilentPanda

    Joined:
    Oct 8, 2002
    Location:
    The Bamboo Forest
    #2
    I think you have to do "rm -r <folder path>".
     
  3. -aggie- thread starter macrumors P6

    -aggie-

    Joined:
    Jun 19, 2009
    Location:
    Where bunnies are welcome.
    #3
    Yep, you were right. Thanks.
     

Share This Page