<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>fengcool.com &#187; rm</title>
	<atom:link href="http://www.fengcool.com/tag/rm/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fengcool.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 25 Jan 2012 19:09:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Linux &#8211; delete files which modified time older than 7 days</title>
		<link>http://www.fengcool.com/2009/02/linux-delete-files-which-modified-time-older-than-7-days/</link>
		<comments>http://www.fengcool.com/2009/02/linux-delete-files-which-modified-time-older-than-7-days/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 03:13:24 +0000</pubDate>
		<dc:creator>rick</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[delete files]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[modified time]]></category>
		<category><![CDATA[rm]]></category>

		<guid isPermaLink="false">http://www.fengcool.com/?p=68</guid>
		<description><![CDATA[delete files which modified time older than 7 days]]></description>
			<content:encoded><![CDATA[<p>find /filePath/* -mtime +7 -delete</p>
<p>or </p>
<p>find /filePath/* -mtime +7 -exec rm {} \;</p>
<p>Where &#8220;-mtime&#8221; parameter will look for file modified time older than &#8220;+7&#8243; days. You may want to change &#8220;+7&#8243; to longer days, for example &#8220;+30&#8243; days, &#8220;+90&#8243; days</p>
<p>&#8220;-exec&#8221; parameter allows you to call another command. The &#8220;{} \;&#8221; is required at the end.</p>
<a rel="external nofollow" class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fwww.fengcool.com%2F2009%2F02%2Flinux-delete-files-which-modified-time-older-than-7-days%2F&amp;linkname=Linux%20%26%238211%3B%20delete%20files%20which%20modified%20time%20older%20than%207%20days"><img src="http://www.fengcool.com/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share/Save/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://www.fengcool.com/2009/02/linux-delete-files-which-modified-time-older-than-7-days/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

