This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Purge Non-Existent File from Trash

Tags: None
(comma "," separated)
User avatar
undoIT
Registered Member
Posts
75
Karma
1
OS

Purge Non-Existent File from Trash

Mon Oct 05, 2009 3:06 pm
It seems that there is a ghost living in my trash. Every time I empty the trash can I get the following message:

The file or folder /home/user/.local/share/Trash/files/file.zip does not exist.


It seems that the trash is still registering a file or trying to delete a file that doesn't exist anymore. Is there a way to purge this?


Image GNU/Linux user since 2007 | Keyboard Shortcuts | Coupon Code Swap
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Try the following:

Code: Select all
rm -f ~/.local/share/Trash/*/*


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rockscient