<?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: Delete files from command line to Trash in Ubuntu 8.04</title>
	<atom:link href="http://marianoiglesias.com.ar/ubuntu/delete-files-from-command-line-to-trash-in-ubuntu-8-04/feed/" rel="self" type="application/rss+xml" />
	<link>http://marianoiglesias.com.ar/ubuntu/delete-files-from-command-line-to-trash-in-ubuntu-8-04/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=delete-files-from-command-line-to-trash-in-ubuntu-8-04</link>
	<description>A glimpse at a coder&#039;s troubled mind</description>
	<lastBuildDate>Thu, 10 May 2012 18:17:46 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Simple backup script for Ubuntu &#124; Coding My Thoughts</title>
		<link>http://marianoiglesias.com.ar/ubuntu/delete-files-from-command-line-to-trash-in-ubuntu-8-04/comment-page-1/#comment-205</link>
		<dc:creator>Simple backup script for Ubuntu &#124; Coding My Thoughts</dc:creator>
		<pubDate>Thu, 31 Dec 2009 15:16:27 +0000</pubDate>
		<guid isPermaLink="false">http://marianoiglesias.com.ar/1/delete-files-from-command-line-to-trash-in-ubuntu-8-04/#comment-205</guid>
		<description>[...] to prevent myself from another home fiasco, I&#8217;ve decided to build a simple script to backup some of my directories. There are a lot of [...]</description>
		<content:encoded><![CDATA[<p>[...] to prevent myself from another home fiasco, I&#8217;ve decided to build a simple script to backup some of my directories. There are a lot of [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrea Francia [Visitor]</title>
		<link>http://marianoiglesias.com.ar/ubuntu/delete-files-from-command-line-to-trash-in-ubuntu-8-04/comment-page-1/#comment-58</link>
		<dc:creator>Andrea Francia [Visitor]</dc:creator>
		<pubDate>Sun, 29 Mar 2009 02:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://marianoiglesias.com.ar/1/delete-files-from-command-line-to-trash-in-ubuntu-8-04/#comment-58</guid>
		<description>You can also use the trash-cli software which provide a command line interface to trashcan. See http://code.google.com/p/trash-cli/
</description>
		<content:encoded><![CDATA[<p>You can also use the trash-cli software which provide a command line interface to trashcan. See <a href="http://code.google.com/p/trash-cli/" rel="nofollow">http://code.google.com/p/trash-cli/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: C. James Callaway [Visitor]</title>
		<link>http://marianoiglesias.com.ar/ubuntu/delete-files-from-command-line-to-trash-in-ubuntu-8-04/comment-page-1/#comment-57</link>
		<dc:creator>C. James Callaway [Visitor]</dc:creator>
		<pubDate>Wed, 06 Aug 2008 02:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://marianoiglesias.com.ar/1/delete-files-from-command-line-to-trash-in-ubuntu-8-04/#comment-57</guid>
		<description>Takes the trash out to the curb.  Files in your trashcan older than 14 days are removed.  From a crontab, maybe?&lt;br /&gt;
&lt;br /&gt;
#!/bin/bash -norc&lt;br /&gt;
# ~/bin/curb_trash&lt;br /&gt;
# deletes any trash files over $KEEPDAYS &lt;br /&gt;
TRASHDIR=~/.local/share/Trash/files&lt;br /&gt;
KEEPDAYS=14&lt;br /&gt;
########################################################################&lt;br /&gt;
# Cleanup old files&lt;br /&gt;
find $TRASHDIR \! -mtime -${KEEPDAYS} -exec rm {} \;&lt;br /&gt;
</description>
		<content:encoded><![CDATA[<p>Takes the trash out to the curb.  Files in your trashcan older than 14 days are removed.  From a crontab, maybe?</p>
<p>#!/bin/bash -norc<br />
# ~/bin/curb_trash<br />
# deletes any trash files over $KEEPDAYS <br />
TRASHDIR=~/.local/share/Trash/files<br />
KEEPDAYS=14<br />
########################################################################<br />
# Cleanup old files<br />
find $TRASHDIR \! -mtime -${KEEPDAYS} -exec rm {} \;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bakyt Niyazov [Visitor]</title>
		<link>http://marianoiglesias.com.ar/ubuntu/delete-files-from-command-line-to-trash-in-ubuntu-8-04/comment-page-1/#comment-56</link>
		<dc:creator>Bakyt Niyazov [Visitor]</dc:creator>
		<pubDate>Sat, 28 Jun 2008 15:28:00 +0000</pubDate>
		<guid isPermaLink="false">http://marianoiglesias.com.ar/1/delete-files-from-command-line-to-trash-in-ubuntu-8-04/#comment-56</guid>
		<description>Thank you! One interesting thing.&lt;br /&gt;
&lt;br /&gt;
&quot;del&quot;eted items aren&#039;t visible in the folder :) &lt;br /&gt;
&lt;br /&gt;
If I use console I see the files. But not in D3lphin. very interesting. (tried to chmod 777, just for fun - not visible)&lt;br /&gt;
&lt;br /&gt;
Thanks again!&lt;br /&gt;
</description>
		<content:encoded><![CDATA[<p>Thank you! One interesting thing.</p>
<p>&#8220;del&#8221;eted items aren&#8217;t visible in the folder <img src='http://marianoiglesias.com.ar/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>If I use console I see the files. But not in D3lphin. very interesting. (tried to chmod 777, just for fun &#8211; not visible)</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mariano.iglesias [Member]</title>
		<link>http://marianoiglesias.com.ar/ubuntu/delete-files-from-command-line-to-trash-in-ubuntu-8-04/comment-page-1/#comment-55</link>
		<dc:creator>mariano.iglesias [Member]</dc:creator>
		<pubDate>Wed, 18 Jun 2008 12:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://marianoiglesias.com.ar/1/delete-files-from-command-line-to-trash-in-ubuntu-8-04/#comment-55</guid>
		<description>@Dennis: You shouldn&#039;t do that. It is not what is expected of POSIX and you&#039;d be altering what is expected from the rm command used by other scripts / tools.
</description>
		<content:encoded><![CDATA[<p>@Dennis: You shouldn&#8217;t do that. It is not what is expected of POSIX and you&#8217;d be altering what is expected from the rm command used by other scripts / tools.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis Hennen [Visitor]</title>
		<link>http://marianoiglesias.com.ar/ubuntu/delete-files-from-command-line-to-trash-in-ubuntu-8-04/comment-page-1/#comment-54</link>
		<dc:creator>Dennis Hennen [Visitor]</dc:creator>
		<pubDate>Wed, 18 Jun 2008 00:13:00 +0000</pubDate>
		<guid isPermaLink="false">http://marianoiglesias.com.ar/1/delete-files-from-command-line-to-trash-in-ubuntu-8-04/#comment-54</guid>
		<description>You can alias rm to something instead of using del. Since you are using Debian (Ubuntu) you could create a shell script to do this and use a diversion to direct /bin/rm to your shell script. &lt;br /&gt;
&lt;br /&gt;
But most importantly, back up daily.
</description>
		<content:encoded><![CDATA[<p>You can alias rm to something instead of using del. Since you are using Debian (Ubuntu) you could create a shell script to do this and use a diversion to direct /bin/rm to your shell script. </p>
<p>But most importantly, back up daily.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced (User agent is rejected)
Database Caching 7/20 queries in 0.013 seconds using disk: basic
Object Caching 269/293 objects using disk: basic

Served from: marianoiglesias.com.ar @ 2012-05-21 12:39:06 -->
