<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: Sjspig's Code Snippets</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Fri, 25 Jul 2008 07:54:56 GMT</pubDate>
    <description>DZone Snippets: Sjspig's Code Snippets</description>
    <item>
      <title>Change file name from upper to lower case</title>
      <link>http://snippets.dzone.com/posts/show/630</link>
      <description>This script requires perl, and a modern shell with ls (this was written/tested using Bash).  It also will not work recursively without some modifications.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;for file in `ls -1|perl -ne 'print "$_" if (/[A-Z]/);'`&lt;br /&gt;do&lt;br /&gt;  mv ${file} `echo ${file}|perl -ne 'chomp;print "$_" if (tr/A-Z/a-z/);'`;&lt;br /&gt;done&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Sun, 04 Sep 2005 05:42:05 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/630</guid>
      <author>sjspig (S Spigarelli)</author>
    </item>
  </channel>
</rss>
