<?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>littleforest &#187; Magic One Liners</title>
	<atom:link href="http://www.littleforest.co.uk/category/magiconeliners/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.littleforest.co.uk</link>
	<description>The littleforest Weblog</description>
	<lastBuildDate>Fri, 05 Nov 2010 08:01:04 +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>XSL Extract File Suffix, Convert to Uppercase, Display</title>
		<link>http://www.littleforest.co.uk/xsl/xslt-extract-file-suffix-convert-to-uppercase-display/</link>
		<comments>http://www.littleforest.co.uk/xsl/xslt-extract-file-suffix-convert-to-uppercase-display/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 10:51:12 +0000</pubDate>
		<dc:creator>Michael Thomas</dc:creator>
				<category><![CDATA[Magic One Liners]]></category>
		<category><![CDATA[XSL]]></category>
		<category><![CDATA[LiveSite]]></category>
		<category><![CDATA[substring]]></category>
		<category><![CDATA[touppercase]]></category>
		<category><![CDATA[translate]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.littleforest.co.uk/?p=183</guid>
		<description><![CDATA[
&#60;xsl:value-of
select=&#34;translate(substring-after(/Properties/Data/Datum[@Name='filename'],'.'),'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ')&#34;/&#62;

]]></description>
		<wfw:commentRss>http://www.littleforest.co.uk/xsl/xslt-extract-file-suffix-convert-to-uppercase-display/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change a word in many files</title>
		<link>http://www.littleforest.co.uk/perl/change-a-word-in-many-files/</link>
		<comments>http://www.littleforest.co.uk/perl/change-a-word-in-many-files/#comments</comments>
		<pubDate>Sat, 27 Sep 2008 13:23:24 +0000</pubDate>
		<dc:creator>Gavin Colborne</dc:creator>
				<category><![CDATA[Magic One Liners]]></category>
		<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://www.littleforest.co.uk/?p=127</guid>
		<description><![CDATA[The below one liner will open all files in its path and change the word &#8216;MOO&#8217; in any of the files to the word &#8216;BOO&#8217;.

find . -type f &#124; xargs /usr/iw-home/iw-perl/bin/iwperl -i -p -e 's/MOO/BOO/g;'

This script has only been lightly tested so please make a backup of your files before running this!
]]></description>
		<wfw:commentRss>http://www.littleforest.co.uk/perl/change-a-word-in-many-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Find all files of a type and count the size together</title>
		<link>http://www.littleforest.co.uk/magiconeliners/find-all-files-of-a-type-and-count-the-size-together/</link>
		<comments>http://www.littleforest.co.uk/magiconeliners/find-all-files-of-a-type-and-count-the-size-together/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 22:46:38 +0000</pubDate>
		<dc:creator>Gavin Colborne</dc:creator>
				<category><![CDATA[Magic One Liners]]></category>

		<guid isPermaLink="false">http://www.littleforest.co.uk/?p=124</guid>
		<description><![CDATA[This wonderful little tool written by Richard Aldridge uses &#8217;sed&#8217; to group together all the files under a particular folder of a certain type (in the example this is files whose name contains the string &#8216;local&#8217; but you could easily change this to look for other groups of files such as &#8216;.log&#8217; or &#8216;.html&#8217; files) [...]]]></description>
		<wfw:commentRss>http://www.littleforest.co.uk/magiconeliners/find-all-files-of-a-type-and-count-the-size-together/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perl Magic One Liners</title>
		<link>http://www.littleforest.co.uk/perl/perl-one-liners/</link>
		<comments>http://www.littleforest.co.uk/perl/perl-one-liners/#comments</comments>
		<pubDate>Wed, 02 Jul 2008 08:25:53 +0000</pubDate>
		<dc:creator>Gavin Colborne</dc:creator>
				<category><![CDATA[Magic One Liners]]></category>
		<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://www.littleforest.co.uk/stream/?p=46</guid>
		<description><![CDATA[This page is dedicated to all the quick one line utilities that are useful when managing an
Interwoven system or any other system that uses many files.
Find all files without metadata of content_type:

find . -name '*.xml' -exec /iw-home/iw-perl/bin/iwperl -e
'$file=shift;system(&#34;/iw-home/bin/iwextattr&#34;, -g=&#38;gt;
&#34;TeamSite/Metadata/content_type&#34;, $file);warn &#34;$file\n&#34;
if $?' &#123;&#125; ';' &#38;gt;/dev/null

Regenerate Recursively

find . -name \*.xml -exec iwregen &#123;&#125; ';'

Check Socket Connection
This [...]]]></description>
		<wfw:commentRss>http://www.littleforest.co.uk/perl/perl-one-liners/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

