I'm having a problem with Yosemite. It started when I attempted to move items to recycle bin, and was asked for my password. I entered it, and the items were moved to the bin. When I tried secure empty trash, it worked for a minute then froze. So I halted the trash. I then tried to move the folders back to the desktop to see if I could get the trash down to only a few files that weren't in folders (these files hadn't asked for my password to move to recycle). That didn't work, because when I restored the folders to desktop, the computer copied them instead of just restoring them: one copy of each folder remained in the trash, another copy now on desktop. When I moved those folders back to trash from desktop, they were then in duplicate. Now I have over 150 GB in the trash and it won't empty. Help!
See this answer: Can't empty the trash after deleting user account
sudo rm -rf ~/.Trash/
As you no longer have access to the drive that the files were sent to Trash from, you may have to force empty the Trash. Be careful, this is a delicate operation. Anytime you see
sudo beware that you are treading in dangerous ground.
sudo allows a permitted user to execute a command as the superuser or another user, as specified by the sudoers file.
The rm utility attempts to remove the non-directory type files specified on the command line.