<?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>Java, Programming, Struts2, jQuery, Linux and more &#187; kriterium</title>
	<atom:link href="http://www.jgeppert.com/tag/kriterium/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jgeppert.com</link>
	<description>Johannes Geppert</description>
	<lastBuildDate>Thu, 09 Feb 2012 16:38:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Der Linux Befehl find</title>
		<link>http://www.jgeppert.com/2008/07/der-linux-befehl-find/</link>
		<comments>http://www.jgeppert.com/2008/07/der-linux-befehl-find/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 19:20:55 +0000</pubDate>
		<dc:creator>jogep</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[kriterium]]></category>
		<category><![CDATA[löschen]]></category>

		<guid isPermaLink="false">http://www.jgeppert.com/?p=8</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.jgeppert.com/2008/07/der-linux-befehl-find/' addthis:title='Der Linux Befehl find '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>find ist ein komplexer Befehl zum suchen im Dateisystem deswegen werde ich hier einige nützliche Anwendungen des Befehles zeigen: alle Dateien die größer als 100 KByte sind: find /home/user -size +100k -exec ls -lth {} ; alle Dateien die älter als 30 Tage sind: find /home/user -type f -mtime +30 -exec ls -lth {} ; [...]<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.jgeppert.com/2008/07/der-linux-befehl-find/' addthis:title='Der Linux Befehl find ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.jgeppert.com/2008/07/der-linux-befehl-find/' addthis:title='Der Linux Befehl find '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div><span><strong>find</strong> ist ein komplexer Befehl zum suchen im Dateisystem deswegen werde ich hier einige nützliche Anwendungen des Befehles zeigen:</span>

<span>alle Dateien die größer als 100 KByte sind:</span>
<div class="code">find /home/user <strong>-size +100k</strong> -exec ls -lth {} ;</div>
<span>alle Dateien die älter als 30 Tage sind:</span>
<div class="code">find /home/user <strong>-type f -mtime +30</strong> -exec ls -lth {} ;</div>
<span>alle Dateien die die letzten 2 Tage modfiziert  wurden::</span>
<div class="code">find /home/user <strong>-type f -mtime -2</strong> -exec ls -lth {} ;</div>
<span>um alle Dateien zu löschen die einem Kriterium entsprechen einfach statt des ls Befehls rm verwenden:</span>
<div class="code">find /home/user -size +100k -exec <strong>/bin/rm -f</strong> {}  ;</div><div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.jgeppert.com/2008/07/der-linux-befehl-find/' addthis:title='Der Linux Befehl find ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.jgeppert.com/2008/07/der-linux-befehl-find/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

