Clean the trash via command line

There is a command to clean the trash bin in KDE using the command line:

ktrash --empty