<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: copying code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Sat, 26 Jul 2008 13:41:28 GMT</pubDate>
    <description>DZone Snippets: copying code</description>
    <item>
      <title>Complex file copy</title>
      <link>http://snippets.dzone.com/posts/show/353</link>
      <description>&lt;code&gt;find *.orig.jpg | perl -p -e 's/\n//; $x = $_; s/\.orig/\.large/; $_ = "cp " . $x . " " . $_ . "\n"'&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Would have used the basename | xargs method covered here, but the filenames were odd.</description>
      <pubDate>Mon, 30 May 2005 20:03:28 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/353</guid>
      <author>peter (Peter Cooperx)</author>
    </item>
  </channel>
</rss>
