Need to have Alfred 2 with the PowerPack enabled
Need to install trash through homebrew
brew install trash
downclear
to clear you downloads folder
deskclear
to clear your desktop
The deleted files are placed in your trash, just as if you had deleted them by hand.