<?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>Technotrance, Illusions and Perspectives &#187; shell-script</title>
	<atom:link href="http://myblog.shriharisc.com/tag/shell-script/feed/" rel="self" type="application/rss+xml" />
	<link>http://myblog.shriharisc.com</link>
	<description>A dose of everyday bruises with Java/JEE</description>
	<lastBuildDate>Mon, 12 Jul 2010 17:55:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Tip: Listing and Compressing modified files on SVN since latest update on Linux</title>
		<link>http://myblog.shriharisc.com/2009/11/26/tip-getting-list-of-files-modified-on-svn-since-latest-update-on-linux/</link>
		<comments>http://myblog.shriharisc.com/2009/11/26/tip-getting-list-of-files-modified-on-svn-since-latest-update-on-linux/#comments</comments>
		<pubDate>Thu, 26 Nov 2009 12:52:17 +0000</pubDate>
		<dc:creator>Shrihari</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[shell-script]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://myblog.shriharisc.com/?p=217</guid>
		<description><![CDATA[In order to find or look at the list of all the modified files on SVN (since the last update) on any Linux host, you may use the following command (say we need to find java or xhtml files) 


svn status -u &#124; grep -e &#039;.java&#039; -e &#039;.xhtml&#039; &#124; awk &#039;{if($2 ~/^[0-9]+$/) {print $3} else [...]]]></description>
			<content:encoded><![CDATA[<p>In order to find or look at the list of all the modified files on SVN (since the last update) on any Linux host, you may use the following command (say we need to find java or xhtml files) </p>
<pre class="brush: bash">

svn status -u | grep -e &#039;.java&#039; -e &#039;.xhtml&#039; | awk &#039;{if($2 ~/^[0-9]+$/) {print $3} else {print $2}}&#039;
</pre>
<p>This command would also print the unversioned (not added to SVN) files as well. Now if you want to compress these list of files (using tar), issue the following shell command:</p>
<pre class="brush: bash">

svn status -u | grep -e &#039;.java&#039; -e &#039;.xhtml&#039; | awk &#039;{if($2 ~/^[0-9]+$/) {print $3} else {print $2}}&#039; | xargs tar cvfz modifiedfiles.tar.z
</pre>
]]></content:encoded>
			<wfw:commentRss>http://myblog.shriharisc.com/2009/11/26/tip-getting-list-of-files-modified-on-svn-since-latest-update-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
