<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Empty Ubuntu Gnome Trash from the Command Line</title>
	<atom:link href="http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html</link>
	<description>Ubuntu Linux Tutorials,Howtos,Tips &#38; News &#124; Oneiric,Natty,Maverick</description>
	<lastBuildDate>Mon, 06 Feb 2012 15:40:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Chicken Wing</title>
		<link>http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html/comment-page-3#comment-105124</link>
		<dc:creator>Chicken Wing</dc:creator>
		<pubDate>Sun, 05 Jun 2011 17:38:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html#comment-105124</guid>
		<description>Thanks! I had tons of files in there</description>
		<content:encoded><![CDATA[<p>Thanks! I had tons of files in there</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carl</title>
		<link>http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html/comment-page-3#comment-104874</link>
		<dc:creator>Carl</dc:creator>
		<pubDate>Fri, 27 May 2011 17:56:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html#comment-104874</guid>
		<description>810_98ME2KXP?
Trolling us here? Windows 98, Windows ME, Windows 2K, Windows XP xD</description>
		<content:encoded><![CDATA[<p>810_98ME2KXP?<br />
Trolling us here? Windows 98, Windows ME, Windows 2K, Windows XP xD</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neel</title>
		<link>http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html/comment-page-3#comment-90448</link>
		<dc:creator>Neel</dc:creator>
		<pubDate>Tue, 01 Feb 2011 07:47:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html#comment-90448</guid>
		<description>I have a file named 810_98ME2KXP_v1.6 in my trash can and when I empty the trash can this file doesn&#039;t get deleted neither it gets restored. It just stays as it is with the same error all the time</description>
		<content:encoded><![CDATA[<p>I have a file named 810_98ME2KXP_v1.6 in my trash can and when I empty the trash can this file doesn&#8217;t get deleted neither it gets restored. It just stays as it is with the same error all the time</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bob</title>
		<link>http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html/comment-page-3#comment-47189</link>
		<dc:creator>bob</dc:creator>
		<pubDate>Thu, 09 Sep 2010 01:32:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html#comment-47189</guid>
		<description>you can empty a windows trash can from commandline too :P</description>
		<content:encoded><![CDATA[<p>you can empty a windows trash can from commandline too <img src='http://www.ubuntugeek.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mordreas</title>
		<link>http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html/comment-page-3#comment-40191</link>
		<dc:creator>mordreas</dc:creator>
		<pubDate>Wed, 07 Jul 2010 21:29:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html#comment-40191</guid>
		<description>worked like a charm, perfect ^^</description>
		<content:encoded><![CDATA[<p>worked like a charm, perfect ^^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ishan</title>
		<link>http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html/comment-page-2#comment-30514</link>
		<dc:creator>ishan</dc:creator>
		<pubDate>Sat, 22 May 2010 01:54:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html#comment-30514</guid>
		<description>sudo rm -rf ~/.local/share/Trash/files/*

this worked for me!!

thnx</description>
		<content:encoded><![CDATA[<p>sudo rm -rf ~/.local/share/Trash/files/*</p>
<p>this worked for me!!</p>
<p>thnx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eddie</title>
		<link>http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html/comment-page-2#comment-26162</link>
		<dc:creator>Eddie</dc:creator>
		<pubDate>Wed, 24 Mar 2010 14:10:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html#comment-26162</guid>
		<description>Thank you LadySol! I din&#039;t think about nesting the command in su mode. Nothing else worked...well didn&#039;t try trash-cli.</description>
		<content:encoded><![CDATA[<p>Thank you LadySol! I din&#8217;t think about nesting the command in su mode. Nothing else worked&#8230;well didn&#8217;t try trash-cli.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LadySol</title>
		<link>http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html/comment-page-2#comment-21649</link>
		<dc:creator>LadySol</dc:creator>
		<pubDate>Sun, 31 Jan 2010 17:54:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html#comment-21649</guid>
		<description>I wasn&#039;t able to delete the plethora of files that had accumulated in my root trash until I used

sudo su, first and then ran
sudo rm -rf ~/.local/share/Trash/files/*

Thanks for this forum discussion, I had no idea how to get rid of the files before. Yeah, free space!</description>
		<content:encoded><![CDATA[<p>I wasn&#8217;t able to delete the plethora of files that had accumulated in my root trash until I used</p>
<p>sudo su, first and then ran<br />
sudo rm -rf ~/.local/share/Trash/files/*</p>
<p>Thanks for this forum discussion, I had no idea how to get rid of the files before. Yeah, free space!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amar</title>
		<link>http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html/comment-page-2#comment-21633</link>
		<dc:creator>Amar</dc:creator>
		<pubDate>Sun, 31 Jan 2010 07:28:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html#comment-21633</guid>
		<description>Trash shows as having items inside .. &quot;2 items in Trash&quot;
And it&#039;s not getting emptied. Tried all the methods.</description>
		<content:encoded><![CDATA[<p>Trash shows as having items inside .. &#8220;2 items in Trash&#8221;<br />
And it&#8217;s not getting emptied. Tried all the methods.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ExoDaz</title>
		<link>http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html/comment-page-2#comment-20878</link>
		<dc:creator>ExoDaz</dc:creator>
		<pubDate>Mon, 18 Jan 2010 17:41:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html#comment-20878</guid>
		<description>I find this really useful when working without X running. Basically, enter the following alias into your .bashrc file;

alias ebin=&#039;rm -rf ~/.local/share/Trash/files/*&#039;

Replace ebin with whatever command you want to use to carry out the operation and all you have to do is issue that command whenever you want to empty the trash.</description>
		<content:encoded><![CDATA[<p>I find this really useful when working without X running. Basically, enter the following alias into your .bashrc file;</p>
<p>alias ebin=&#8217;rm -rf ~/.local/share/Trash/files/*&#8217;</p>
<p>Replace ebin with whatever command you want to use to carry out the operation and all you have to do is issue that command whenever you want to empty the trash.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Buzz</title>
		<link>http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html/comment-page-2#comment-19751</link>
		<dc:creator>Buzz</dc:creator>
		<pubDate>Mon, 28 Dec 2009 00:06:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html#comment-19751</guid>
		<description>Folks, you need to delete the ~/.local/share/Trash/info/* files too.

I aliased it:

alias emptytrash=&#039;rm -fr ~/.local/share/Trash/files/* ~/.local/share/Trash/info/*&#039;</description>
		<content:encoded><![CDATA[<p>Folks, you need to delete the ~/.local/share/Trash/info/* files too.</p>
<p>I aliased it:</p>
<p>alias emptytrash=&#8217;rm -fr ~/.local/share/Trash/files/* ~/.local/share/Trash/info/*&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frackson Hector LUBINGU</title>
		<link>http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html/comment-page-2#comment-13170</link>
		<dc:creator>Frackson Hector LUBINGU</dc:creator>
		<pubDate>Fri, 18 Sep 2009 16:44:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html#comment-13170</guid>
		<description>This is how I managed to delete the troublesome folder.

In the terminal I typed
# locate brid

the following two lines where amongst the output

/data-l1/.Trash-1000/files/brid
/data-l1/.Trash-1000/info/brid.trashinfo

Then I deleted the as follows

# rm -rf /data-l1/.Trash-1000/files/*
and
# rm -rf /data-l1/.Trash-1000/info/*

This emptied my Trash
Good luck</description>
		<content:encoded><![CDATA[<p>This is how I managed to delete the troublesome folder.</p>
<p>In the terminal I typed<br />
# locate brid</p>
<p>the following two lines where amongst the output</p>
<p>/data-l1/.Trash-1000/files/brid<br />
/data-l1/.Trash-1000/info/brid.trashinfo</p>
<p>Then I deleted the as follows</p>
<p># rm -rf /data-l1/.Trash-1000/files/*<br />
and<br />
# rm -rf /data-l1/.Trash-1000/info/*</p>
<p>This emptied my Trash<br />
Good luck</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith</title>
		<link>http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html/comment-page-2#comment-12474</link>
		<dc:creator>Keith</dc:creator>
		<pubDate>Sat, 29 Aug 2009 23:35:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html#comment-12474</guid>
		<description>I love linux and these little quirks are nothing to me.... so many positives compared to the negatives of windows.... Do I have to list them? :)</description>
		<content:encoded><![CDATA[<p>I love linux and these little quirks are nothing to me&#8230;. so many positives compared to the negatives of windows&#8230;. Do I have to list them? <img src='http://www.ubuntugeek.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: slacker400</title>
		<link>http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html/comment-page-2#comment-12465</link>
		<dc:creator>slacker400</dc:creator>
		<pubDate>Sat, 29 Aug 2009 16:13:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html#comment-12465</guid>
		<description>I had this issue where I had been deleting files using the root authority on 9.04. When emptying the trash I would get an error that not all files can be displayed but the mouse pointer would spin for minutes and nothing would be displayed. 

Thierry B.&#039;s sugguestion worked for me.
apt-get install trash-cli
empty-trash

Funny thing is I do a lot of VM work on this box, and it&#039;s been a while since I really looked at my disk utilization. this utility cleared the 20 GB of files I knew about and it cleared another 30 GB of stuff I didn&#039;t know was still on the drives.

THIS IS WHY LINUX Fails to penetrate the windows desktop world. We can&#039;t even have a fully functional trash bin on the Desktop? 

SIGH. I&#039;ll keep believing!</description>
		<content:encoded><![CDATA[<p>I had this issue where I had been deleting files using the root authority on 9.04. When emptying the trash I would get an error that not all files can be displayed but the mouse pointer would spin for minutes and nothing would be displayed. </p>
<p>Thierry B.&#8217;s sugguestion worked for me.<br />
apt-get install trash-cli<br />
empty-trash</p>
<p>Funny thing is I do a lot of VM work on this box, and it&#8217;s been a while since I really looked at my disk utilization. this utility cleared the 20 GB of files I knew about and it cleared another 30 GB of stuff I didn&#8217;t know was still on the drives.</p>
<p>THIS IS WHY LINUX Fails to penetrate the windows desktop world. We can&#8217;t even have a fully functional trash bin on the Desktop? </p>
<p>SIGH. I&#8217;ll keep believing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith</title>
		<link>http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html/comment-page-2#comment-12285</link>
		<dc:creator>Keith</dc:creator>
		<pubDate>Mon, 24 Aug 2009 03:24:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html#comment-12285</guid>
		<description>I had a similar problem... tried emptying the trash with the icon and it would say emptying and you could see the progress, but when you went in the folder everything was still there. Tried all the commands and same thing. The only way i got it to work was to cntl-alt F6 and log into another session on the command line and physically go to the folder and delete stuff using the rm -rf commmand.... very strange. After i did that, when i went back to my xwindows session i was able to empty the trash as normal again.....</description>
		<content:encoded><![CDATA[<p>I had a similar problem&#8230; tried emptying the trash with the icon and it would say emptying and you could see the progress, but when you went in the folder everything was still there. Tried all the commands and same thing. The only way i got it to work was to cntl-alt F6 and log into another session on the command line and physically go to the folder and delete stuff using the rm -rf commmand&#8230;. very strange. After i did that, when i went back to my xwindows session i was able to empty the trash as normal again&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html/comment-page-2#comment-10209</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Sun, 21 Jun 2009 00:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html#comment-10209</guid>
		<description>It could be that the troublesome item stuck in the Trash is not in your home directory, but on another hard disk or partition. In that case, use the command line to delete them after changing to that directory. For example:
# cd /media/ExternalDisk/.Trash-1000/files
# rm -rf *
Be very careful you are in that Trash directory before using the powerful delete command as Root.</description>
		<content:encoded><![CDATA[<p>It could be that the troublesome item stuck in the Trash is not in your home directory, but on another hard disk or partition. In that case, use the command line to delete them after changing to that directory. For example:<br />
# cd /media/ExternalDisk/.Trash-1000/files<br />
# rm -rf *<br />
Be very careful you are in that Trash directory before using the powerful delete command as Root.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html/comment-page-2#comment-9804</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 10 Jun 2009 00:52:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html#comment-9804</guid>
		<description>Good to know this. Here&#039;s the problem it solves (partially) for me:

I deleted files from my desktop. Unfortunately the permissions of the folders/files was read only. Trash would not allow me to delete them permanently or change permissions. Copying back to the desktop and changing permissions wouldn&#039;t work because that would still leave copies in Trash that couldn&#039;t be manipulated. 

sudo rm -rf ~/.local/share/Trash/files/*  deleted most of them. It left one folder - not sure why; i&#039;ll have to look into it later. Thanks.</description>
		<content:encoded><![CDATA[<p>Good to know this. Here&#8217;s the problem it solves (partially) for me:</p>
<p>I deleted files from my desktop. Unfortunately the permissions of the folders/files was read only. Trash would not allow me to delete them permanently or change permissions. Copying back to the desktop and changing permissions wouldn&#8217;t work because that would still leave copies in Trash that couldn&#8217;t be manipulated. </p>
<p>sudo rm -rf ~/.local/share/Trash/files/*  deleted most of them. It left one folder - not sure why; i&#8217;ll have to look into it later. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shai</title>
		<link>http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html/comment-page-2#comment-7686</link>
		<dc:creator>Shai</dc:creator>
		<pubDate>Thu, 23 Apr 2009 15:18:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html#comment-7686</guid>
		<description>The following works on Ubuntu Hardy Heron 8.04
1. open terminal
2. type gksudo dbus-launch nautilus
3. hit enter
4. navigate to /home/USERNAME/.local/share/Trash/files
5. Delete whatever you want</description>
		<content:encoded><![CDATA[<p>The following works on Ubuntu Hardy Heron 8.04<br />
1. open terminal<br />
2. type gksudo dbus-launch nautilus<br />
3. hit enter<br />
4. navigate to /home/USERNAME/.local/share/Trash/files<br />
5. Delete whatever you want</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: coderoid</title>
		<link>http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html/comment-page-2#comment-7683</link>
		<dc:creator>coderoid</dc:creator>
		<pubDate>Thu, 23 Apr 2009 13:33:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html#comment-7683</guid>
		<description>@jake you&#039;re a hero! thanks guys..</description>
		<content:encoded><![CDATA[<p>@jake you&#8217;re a hero! thanks guys..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim E.</title>
		<link>http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html/comment-page-2#comment-6007</link>
		<dc:creator>Jim E.</dc:creator>
		<pubDate>Sun, 15 Feb 2009 15:27:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/empty-ubuntu-gnome-trash-from-the-command-line.html#comment-6007</guid>
		<description>Thanks Lex. Nothing else worked for me either except for removing the Trash applet and then adding it back to the panel.</description>
		<content:encoded><![CDATA[<p>Thanks Lex. Nothing else worked for me either except for removing the Trash applet and then adding it back to the panel.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

