Deleting Folders


I’m trying to delete stuff of an external hard drive.
When i try it says ’ Unable to find or create wastebasket directory for…’

‘Do you want to permanently delete it?’ YES TO ALL

‘Error removing file, directory not empty’ ?

You can’t delete a directory containing files, (its a safety feature), so delete all files in the directory first, then delete the directory.

(You may also need to be the root user or use sudo.)

I’ve tried that but thanks.
I’ll try it from the command line next as you suggested

Did you use the comandline sudo rm filename ?

In this case its better to do sudo rm -rf filename

-r is to delete also the folders and files inside the folder. -f is for force it.