<?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: CLI ABFR</title>
	<atom:link href="http://nslog.com/2006/03/21/cli_abfr/feed" rel="self" type="application/rss+xml" />
	<link>http://nslog.com/2006/03/21/cli_abfr</link>
	<description>The Weblog of Erik J. Barzeski</description>
	<lastBuildDate>Tue, 07 Feb 2012 16:40:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Andy Fragen</title>
		<link>http://nslog.com/2006/03/21/cli_abfr#comment-18504</link>
		<dc:creator>Andy Fragen</dc:creator>
		<pubDate>Wed, 22 Mar 2006 04:56:04 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2006/03/21/cli_abfr/#comment-18504</guid>
		<description>Try &lt;a href=&quot;http://www.macupdate.com/info.php/id/12259&quot;&gt;R-Name3&lt;/a&gt;. It&#039;s free.
</description>
		<content:encoded><![CDATA[<p>Try <a  href="http://www.macupdate.com/info.php/id/12259">R-Name3</a>. It's free.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Plaid Cow</title>
		<link>http://nslog.com/2006/03/21/cli_abfr#comment-18503</link>
		<dc:creator>The Plaid Cow</dc:creator>
		<pubDate>Wed, 22 Mar 2006 01:39:40 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2006/03/21/cli_abfr/#comment-18503</guid>
		<description>To go with all of the other posts that don&#039;t offer a command line solution, I recommend &lt;a href=&quot;http://www2.mitsuya.nuem.nagoya-u.ac.jp/~tagaya/cocoa/rname_en.html&quot;&gt;R-Name&lt;/a&gt; as an excellent replacement for ABFR. With the AppleScript I have, you can even make a selection and press Command-Shift-R to start the process.</description>
		<content:encoded><![CDATA[<p>To go with all of the other posts that don't offer a command line solution, I recommend <a  href="http://www2.mitsuya.nuem.nagoya-u.ac.jp/~tagaya/cocoa/rname_en.html">R-Name</a> as an excellent replacement for ABFR. With the AppleScript I have, you can even make a selection and press Command-Shift-R to start the process.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Corey Porter</title>
		<link>http://nslog.com/2006/03/21/cli_abfr#comment-18502</link>
		<dc:creator>Corey Porter</dc:creator>
		<pubDate>Tue, 21 Mar 2006 23:40:34 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2006/03/21/cli_abfr/#comment-18502</guid>
		<description>find . -type f -name \*.whatever -print0 &#124; xargs -0 rename -s/FROM_PATTERN/TO_PATTERN/g



works under most shells.</description>
		<content:encoded><![CDATA[<p>find . -type f -name \*.whatever -print0 | xargs -0 rename -s/FROM_PATTERN/TO_PATTERN/g</p>
<p>works under most shells.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://nslog.com/2006/03/21/cli_abfr#comment-18501</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Tue, 21 Mar 2006 21:52:21 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2006/03/21/cli_abfr/#comment-18501</guid>
		<description>The perl util is nice. You can also use some simple shell scripting (no need for sed/awk):



For instance, say you want to UPPER-&gt;lower files:



$ mkdir test

$ cd test

$ for i in 1 2 3 4; do touch ABCD$i; done

$ ls

ABCD1   ABCD2   ABCD3   ABCD4

$ for i in `ls`; do j=`echo $i &#124; tr [A-Z] [a-z]`; mv $i $j; done

$ ls

abcd1   abcd2   abcd3   abcd4



Of course you&#039;ll be creating 2 new processes for every file...</description>
		<content:encoded><![CDATA[<p>The perl util is nice. You can also use some simple shell scripting (no need for sed/awk):</p>
<p>For instance, say you want to UPPER-&gt;lower files:</p>
<p>$ mkdir test</p>
<p>$ cd test</p>
<p>$ for i in 1 2 3 4; do touch ABCD$i; done</p>
<p>$ ls</p>
<p>ABCD1   ABCD2   ABCD3   ABCD4</p>
<p>$ for i in `ls`; do j=`echo $i | tr [A-Z] [a-z]`; mv $i $j; done</p>
<p>$ ls</p>
<p>abcd1   abcd2   abcd3   abcd4</p>
<p>Of course you'll be creating 2 new processes for every file...</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Henderson</title>
		<link>http://nslog.com/2006/03/21/cli_abfr#comment-18500</link>
		<dc:creator>Matt Henderson</dc:creator>
		<pubDate>Tue, 21 Mar 2006 21:31:24 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2006/03/21/cli_abfr/#comment-18500</guid>
		<description>File Buddy is pretty nice for this type thing (although it&#039;s much much more than a renamer.)</description>
		<content:encoded><![CDATA[<p>File Buddy is pretty nice for this type thing (although it's much much more than a renamer.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Buchheim</title>
		<link>http://nslog.com/2006/03/21/cli_abfr#comment-18499</link>
		<dc:creator>Tim Buchheim</dc:creator>
		<pubDate>Tue, 21 Mar 2006 20:05:17 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2006/03/21/cli_abfr/#comment-18499</guid>
		<description>A lot of linux distributions include a perl script called &quot;rename&quot; which lets you specify perl code for modifying names.  (For example, to rename *.foo to end in .bar, you could run &quot;rename  &#039;s/foo$/bar/&#039; *.foo&quot;)

I found a copy of the source &lt;a href=&quot;http://www.greenfly.org/rename&quot;&gt;here&lt;/a&gt;

run &quot;pod2man rename &gt; rename.1&quot; to generate the man page (then stick it wherever you keep man pages for stuff you&#039;ve installed) .. if you just want to view it, you can use &quot;pod2man rename &#124; nroff -man &#124; less&quot; (or just &quot;pod2text rename&quot; if you don&#039;t care about underlines, bold, etc.)</description>
		<content:encoded><![CDATA[<p>A lot of linux distributions include a perl script called "rename" which lets you specify perl code for modifying names.  (For example, to rename *.foo to end in .bar, you could run "rename  's/foo$/bar/' *.foo")</p>
<p>I found a copy of the source <a  href="http://www.greenfly.org/rename">here</a></p>
<p>run "pod2man rename &gt; rename.1" to generate the man page (then stick it wherever you keep man pages for stuff you've installed) .. if you just want to view it, you can use "pod2man rename | nroff -man | less" (or just "pod2text rename" if you don't care about underlines, bold, etc.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simone Manganelli</title>
		<link>http://nslog.com/2006/03/21/cli_abfr#comment-18498</link>
		<dc:creator>Simone Manganelli</dc:creator>
		<pubDate>Tue, 21 Mar 2006 20:03:24 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2006/03/21/cli_abfr/#comment-18498</guid>
		<description>I typically use the Finder scripts that are included with Mac OS X, accessible via the Scripts menu, but that&#039;s not a command-line solution either.</description>
		<content:encoded><![CDATA[<p>I typically use the Finder scripts that are included with Mac OS X, accessible via the Scripts menu, but that's not a command-line solution either.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tristan Brown</title>
		<link>http://nslog.com/2006/03/21/cli_abfr#comment-18497</link>
		<dc:creator>Tristan Brown</dc:creator>
		<pubDate>Tue, 21 Mar 2006 19:30:16 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2006/03/21/cli_abfr/#comment-18497</guid>
		<description>I use &lt;a href=&quot;http://www.power4mac.com/renamer/&quot;&gt;Renamer4Mac&lt;/a&gt;. It&#039;s a GUI app, but it&#039;s free and has (among other options) regex support.</description>
		<content:encoded><![CDATA[<p>I use <a  href="http://www.power4mac.com/renamer/">Renamer4Mac</a>. It's a GUI app, but it's free and has (among other options) regex support.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik J. Barzeski</title>
		<link>http://nslog.com/2006/03/21/cli_abfr#comment-18496</link>
		<dc:creator>Erik J. Barzeski</dc:creator>
		<pubDate>Tue, 21 Mar 2006 19:26:29 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2006/03/21/cli_abfr/#comment-18496</guid>
		<description>Brooke, I have. It&#039;s not a CLI app, of course, but it&#039;s a good substitute for ABFR. I&#039;m still hoping to find (or build) a CLI version.</description>
		<content:encoded><![CDATA[<p>Brooke, I have. It's not a CLI app, of course, but it's a good substitute for ABFR. I'm still hoping to find (or build) a CLI version.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brooke Callahan</title>
		<link>http://nslog.com/2006/03/21/cli_abfr#comment-18495</link>
		<dc:creator>Brooke Callahan</dc:creator>
		<pubDate>Tue, 21 Mar 2006 19:17:25 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2006/03/21/cli_abfr/#comment-18495</guid>
		<description>Have you tried Automator&#039;s &quot;Rename Finder Items&quot; action?</description>
		<content:encoded><![CDATA[<p>Have you tried Automator's "Rename Finder Items" action?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

