0

I tried to use

sudo rm -rf .Trash-1001

But it says

The Removing of .Trash-1001/info" is not possible: The directory is not empty.

(This is a translation by me because I have German as my system language)

7
  • What are you trying to do ? Delete a paricular file or entire folder ? Commented Apr 8, 2016 at 22:39
  • The entire folder Commented Apr 8, 2016 at 22:42
  • can you provide more details, path of directory and what directory you need to remove ? Commented Apr 8, 2016 at 22:57
  • It's under /media/user/myHDD/ The directory is called .Trash-1000. That's the folder wher things go when i delete something on this drive. Commented Apr 8, 2016 at 23:32
  • 2
    I am not using a shotgun to kill houseflies, i'm not an american. Commented Apr 9, 2016 at 14:16

1 Answer 1

1

Possible problem with locked files in the .Trash directory?

See this Apple support post, which suggests running

chflags -R nouchg ...

on the trash directory before attempting rm -rf.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.