<?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>sperrgebiet&#039;s world &#187; Bash</title>
	<atom:link href="http://www.sperrgebiet.org/tag/bash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sperrgebiet.org</link>
	<description>penguins (and ducks) are friends, no food</description>
	<lastBuildDate>Wed, 07 Dec 2011 12:59:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Find and delete files with specific content</title>
		<link>http://www.sperrgebiet.org/2009/07/find-and-delete-files-with-specific-content/</link>
		<comments>http://www.sperrgebiet.org/2009/07/find-and-delete-files-with-specific-content/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 23:49:58 +0000</pubDate>
		<dc:creator>Hans</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Bash]]></category>

		<guid isPermaLink="false">http://www.sperrgebiet.org/blog/?p=11</guid>
		<description><![CDATA[Ever wanted to deleted (or move, copy, what else) all files in a directory? It&#8217;s quite easy: egrep -l NEEDLE * &#124; xargs rm This command will find all files with NEEDLE in it, pipes the filename (that&#8217;s because we need the parameter L) to xargs which then use the STDIN (our filename) and put&#8217;s&#8230;]]></description>
			<content:encoded><![CDATA[<p>Ever wanted to deleted (or move, copy, what else) all files in a directory? It&#8217;s quite easy:</p>
<p><em>egrep -l NEEDLE * | xargs rm</em></p>
<p>This command will find all files with NEEDLE in it, pipes the filename (that&#8217;s because we need the parameter L) to xargs which then use the STDIN (our filename) and put&#8217;s it to rm.</p>
<p>Just play around with it the possible parameters. It would save you a lot of time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sperrgebiet.org/2009/07/find-and-delete-files-with-specific-content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

