Originally Posted by
yetiman64
@ dcsoldschool53, your first command will remove the trash directory itself not just the contents and you don't need sudo to delete files or folders in a users home directory plus the -f or force switch is totally unnecessary. Please reconsider it.
OP if you follow my first post but change the command to "sudo rm -r" (recursive switch for directories) those folders and their contents will be removed.
You are right, because the command is actually
Code:
sudo rm -rf ~/.local/share/Trash/*
This will work. I forgot to add the * after Trash/. SORRY this will not delete the trash folder but it will delete everything in it.
Bookmarks