<?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 Unversioned Files Under SVN</title>
	<atom:link href="http://www.guyrutenberg.com/2008/01/18/delete-unversioned-files-under-svn/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.guyrutenberg.com/2008/01/18/delete-unversioned-files-under-svn/</link>
	<description>Keeping track of what I do</description>
	<lastBuildDate>Tue, 07 Feb 2012 23:33:30 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Harsh kumar</title>
		<link>http://www.guyrutenberg.com/2008/01/18/delete-unversioned-files-under-svn/comment-page-1/#comment-107718</link>
		<dc:creator>Harsh kumar</dc:creator>
		<pubDate>Tue, 06 Sep 2011 10:35:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.guyrutenberg.com/2008/01/18/delete-unversioned-files-under-svn/#comment-107718</guid>
		<description>thank u very much man</description>
		<content:encoded><![CDATA[<p>thank u very much man</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Delete Unversioned Files Under SVN by Guy Rutenberg &#8211; Code Cafe</title>
		<link>http://www.guyrutenberg.com/2008/01/18/delete-unversioned-files-under-svn/comment-page-1/#comment-81051</link>
		<dc:creator>Delete Unversioned Files Under SVN by Guy Rutenberg &#8211; Code Cafe</dc:creator>
		<pubDate>Mon, 30 May 2011 08:44:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.guyrutenberg.com/2008/01/18/delete-unversioned-files-under-svn/#comment-81051</guid>
		<description>[...] Delete Unversioned Files Under SVN by Guy Rutenberg [...]</description>
		<content:encoded><![CDATA[<p>[...] Delete Unversioned Files Under SVN by Guy Rutenberg [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Japan Shah</title>
		<link>http://www.guyrutenberg.com/2008/01/18/delete-unversioned-files-under-svn/comment-page-1/#comment-70921</link>
		<dc:creator>Japan Shah</dc:creator>
		<pubDate>Wed, 06 Apr 2011 10:11:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.guyrutenberg.com/2008/01/18/delete-unversioned-files-under-svn/#comment-70921</guid>
		<description>Thanks,

         Worked out of the box.....</description>
		<content:encoded><![CDATA[<p>Thanks,</p>
<p>         Worked out of the box&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Baz</title>
		<link>http://www.guyrutenberg.com/2008/01/18/delete-unversioned-files-under-svn/comment-page-1/#comment-46009</link>
		<dc:creator>Baz</dc:creator>
		<pubDate>Thu, 28 Oct 2010 13:21:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.guyrutenberg.com/2008/01/18/delete-unversioned-files-under-svn/#comment-46009</guid>
		<description>Ugh, the blog mangled my command. The tr command was 

tr space single-quote backslash n single-quote space single-quote backslash zero single-quote</description>
		<content:encoded><![CDATA[<p>Ugh, the blog mangled my command. The tr command was </p>
<p>tr space single-quote backslash n single-quote space single-quote backslash zero single-quote</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Baz</title>
		<link>http://www.guyrutenberg.com/2008/01/18/delete-unversioned-files-under-svn/comment-page-1/#comment-46008</link>
		<dc:creator>Baz</dc:creator>
		<pubDate>Thu, 28 Oct 2010 13:19:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.guyrutenberg.com/2008/01/18/delete-unversioned-files-under-svn/#comment-46008</guid>
		<description>Late to the party but... Andy, you&#039;re right that spaces in filenames will cause problems if you pass them to xargs, but they&#039;re not the only problematic character. The usual way to fix this is to use tr and the -0 flag on xargs, eg:

ls&#124;tr &#039;\n&#039; &#039;&#039;&#124;xargs -0 rm

It&#039;s what -0 is there for.</description>
		<content:encoded><![CDATA[<p>Late to the party but&#8230; Andy, you&#8217;re right that spaces in filenames will cause problems if you pass them to xargs, but they&#8217;re not the only problematic character. The usual way to fix this is to use tr and the -0 flag on xargs, eg:</p>
<p>ls|tr &#8216;\n&#8217; &#8221;|xargs -0 rm</p>
<p>It&#8217;s what -0 is there for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander M. Batishchev</title>
		<link>http://www.guyrutenberg.com/2008/01/18/delete-unversioned-files-under-svn/comment-page-1/#comment-37684</link>
		<dc:creator>Alexander M. Batishchev</dc:creator>
		<pubDate>Sun, 18 Jul 2010 17:12:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.guyrutenberg.com/2008/01/18/delete-unversioned-files-under-svn/#comment-37684</guid>
		<description>Great! Thanks a lot!</description>
		<content:encoded><![CDATA[<p>Great! Thanks a lot!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Optimus Pete - svn: delete unversioned files</title>
		<link>http://www.guyrutenberg.com/2008/01/18/delete-unversioned-files-under-svn/comment-page-1/#comment-37197</link>
		<dc:creator>Optimus Pete - svn: delete unversioned files</dc:creator>
		<pubDate>Fri, 09 Jul 2010 15:38:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.guyrutenberg.com/2008/01/18/delete-unversioned-files-under-svn/#comment-37197</guid>
		<description>[...] to Guy Rutenberg for this, your definitely in my list of top 5 [...]</description>
		<content:encoded><![CDATA[<p>[...] to Guy Rutenberg for this, your definitely in my list of top 5 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://www.guyrutenberg.com/2008/01/18/delete-unversioned-files-under-svn/comment-page-1/#comment-36160</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Fri, 18 Jun 2010 15:19:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.guyrutenberg.com/2008/01/18/delete-unversioned-files-under-svn/#comment-36160</guid>
		<description>Piping lines into xargs rm  here *will* give you grief if you have spaces in your file names! 

This is safer:
(svn status &#124; grep &#039;^[\?~]&#039;&#124; cut -c 9- )&#124; while read VICTIM; do
  rm -fr &quot;$VICTIM&quot;
  echo &quot;Deleted $VICTIM&quot;
done</description>
		<content:encoded><![CDATA[<p>Piping lines into xargs rm  here *will* give you grief if you have spaces in your file names! </p>
<p>This is safer:<br />
(svn status | grep &#8216;^[\?~]&#8216;| cut -c 9- )| while read VICTIM; do<br />
  rm -fr &#8220;$VICTIM&#8221;<br />
  echo &#8220;Deleted $VICTIM&#8221;<br />
done</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guy</title>
		<link>http://www.guyrutenberg.com/2008/01/18/delete-unversioned-files-under-svn/comment-page-1/#comment-29619</link>
		<dc:creator>Guy</dc:creator>
		<pubDate>Thu, 04 Mar 2010 17:05:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.guyrutenberg.com/2008/01/18/delete-unversioned-files-under-svn/#comment-29619</guid>
		<description>&lt;code&gt;awk&lt;/code&gt; is a great tool, but I lack comprehensive knowledge of it, thus I usually prefer other tools.</description>
		<content:encoded><![CDATA[<p><code>awk</code> is a great tool, but I lack comprehensive knowledge of it, thus I usually prefer other tools.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tobi</title>
		<link>http://www.guyrutenberg.com/2008/01/18/delete-unversioned-files-under-svn/comment-page-1/#comment-29550</link>
		<dc:creator>tobi</dc:creator>
		<pubDate>Wed, 03 Mar 2010 12:37:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.guyrutenberg.com/2008/01/18/delete-unversioned-files-under-svn/#comment-29550</guid>
		<description>why not just using awk?

svn status --no-ignore&#124;awk &#039;/^\?/ {print $2}&#039;&#124;xargs rm</description>
		<content:encoded><![CDATA[<p>why not just using awk?</p>
<p>svn status &#8211;no-ignore|awk &#8216;/^\?/ {print $2}&#8217;|xargs rm</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.261 seconds -->

