<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://www.kevinlee.io/w/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
		<id>https://www.kevinlee.io/w/index.php?action=history&amp;feed=atom&amp;title=Trash</id>
		<title>Trash - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://www.kevinlee.io/w/index.php?action=history&amp;feed=atom&amp;title=Trash"/>
		<link rel="alternate" type="text/html" href="https://www.kevinlee.io/w/index.php?title=Trash&amp;action=history"/>
		<updated>2026-05-06T07:39:41Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>https://www.kevinlee.io/w/index.php?title=Trash&amp;diff=123&amp;oldid=prev</id>
		<title>Kevin: New page: Category:Linux == Location (Ubuntu Linux 8.10) ==  $HOME/.local/share/Trash  The sub-directories of the Trash directory contains the file removed and the original location and the time...</title>
		<link rel="alternate" type="text/html" href="https://www.kevinlee.io/w/index.php?title=Trash&amp;diff=123&amp;oldid=prev"/>
				<updated>2009-03-25T02:36:24Z</updated>
		
		<summary type="html">&lt;p&gt;New page: &lt;a href=&quot;/wiki/Category:Linux&quot; title=&quot;Category:Linux&quot;&gt;Category:Linux&lt;/a&gt; == Location (Ubuntu Linux 8.10) ==  $HOME/.local/share/Trash  The sub-directories of the Trash directory contains the file removed and the original location and the time...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Linux]]&lt;br /&gt;
== Location (Ubuntu Linux 8.10) ==&lt;br /&gt;
 $HOME/.local/share/Trash&lt;br /&gt;
&lt;br /&gt;
The sub-directories of the Trash directory contains the file removed and the original location and the time when the file is removed.&lt;br /&gt;
&lt;br /&gt;
*files: A directory which keeps the file removed.&lt;br /&gt;
*info: A directory which keeps the path in which the file is located before it is removed and the time when it is removed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Moving Files to the Trash Instead of Removing in CLI ==&lt;br /&gt;
&amp;lt;code&amp;gt;gvfs-trash&amp;lt;/code&amp;gt; can be used to move files to the trash rather than removing directly with rm command.&lt;br /&gt;
-To install &amp;lt;code&amp;gt;gvfs-trash&amp;lt;/code&amp;gt;,&lt;br /&gt;
 $ sudo apt-get install gvfs-bin &lt;br /&gt;
&lt;br /&gt;
-How to use&lt;br /&gt;
 $ gvfs-trash &amp;lt;file or directory path&amp;gt;&lt;br /&gt;
&lt;br /&gt;
e.g.&lt;br /&gt;
 $ gvfs-trash delete_this.txt&lt;br /&gt;
&lt;br /&gt;
-For convenience, open the &amp;lt;code&amp;gt;$HOME/.bashrc&amp;lt;/code&amp;gt; file and put the following line.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
alias trash=gvfs-trash&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kevin</name></author>	</entry>

	</feed>