Folder won't delete from Trash for "Can't delete "_ImageItems" because its pathname is too long"

I'm trying to empty my trash on my iMac. When I do, I can detete everything but 1 folder. The one folder seems to reference itself infinitely. Each time I click on the expander chevron, I get another folder of the same name with the same date. When I created _ImageItems, there was only one level.

I've attached some screen clipsToo Long Error.

Apparently infinitely recursive folders


Solution 1:

You can use the command line in the terminal.

rm -rvf ~/.Trash/*

For completeness sake the options here from the rm man page:

-f  Attempt to remove the files without prompting for confirmation,
     regardless of the file's permissions.  If the file does not exist,
     do not display a diagnostic message or modify the exit status to
     reflect an error.  The -f option overrides any previous -i
     options.

-R[-r]  Attempt to remove the file hierarchy rooted in each file argument.
         The -R option implies the -d option.  If the -i option is speci-
         fied, the user is prompted for confirmation before each direc-
         tory's contents are processed (as well as before the attempt is
         made to remove the directory).  If the user does not respond
         affirmatively, the file hierarchy rooted in that directory is
         skipped.

 -v   Be verbose when deleting files, showing them as they are removed.