<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/perl/tags/file</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Tue, 07 Oct 2008 09:01:34 GMT</pubDate>
<item>
<title>(Perl) Count directory entries in given directories - amosshapira</title>
<link>http://snipplr.com/view/4542/count-directory-entries-in-given-directories/</link>
<description><![CDATA[ <p>In response to a very simplistic solution suggestion using Shell, here is a basic version of what I use. The advantage of the solution below is that it is supposed to be much faster on directories with many files (I regularly use its full-blown version on directories with tens and hundreds of thousands of files).</p> ]]></description>
<pubDate>Sun, 13 Jan 2008 18:04:31 GMT</pubDate>
<guid>http://snipplr.com/view/4542/count-directory-entries-in-given-directories/</guid>
</item>
<item>
<title>(Perl) age of file? - noah</title>
<link>http://snipplr.com/view/3137/age-of-file/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 03 Jul 2007 23:06:47 GMT</pubDate>
<guid>http://snipplr.com/view/3137/age-of-file/</guid>
</item>
<item>
<title>(Perl) create new files - noah</title>
<link>http://snipplr.com/view/3132/create-new-files/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 03 Jul 2007 22:50:04 GMT</pubDate>
<guid>http://snipplr.com/view/3132/create-new-files/</guid>
</item>
<item>
<title>(Perl) id3.pl - noah</title>
<link>http://snipplr.com/view/3129/id3pl/</link>
<description><![CDATA[ <p>This script takes a list of directories as its argument. 
  For mp3s that don't have any id3 information, guess      
  the name of the artist and track based on the filename   
  and use the MP3-Info module to insert that guess into    
  the file as id3v1 tags.</p> ]]></description>
<pubDate>Tue, 03 Jul 2007 22:40:18 GMT</pubDate>
<guid>http://snipplr.com/view/3129/id3pl/</guid>
</item>
<item>
<title>(Perl) Move MP3s into Artist/Album folders - noah</title>
<link>http://snipplr.com/view/3128/move-mp3s-into-artistalbum-folders/</link>
<description><![CDATA[ <p>Given a directory of MP3s, read the ID3 tags and reorganize the directory so that all of the MP3s reside in folders that are nested in the order: Artist/Album/File.mp3</p> ]]></description>
<pubDate>Tue, 03 Jul 2007 22:37:20 GMT</pubDate>
<guid>http://snipplr.com/view/3128/move-mp3s-into-artistalbum-folders/</guid>
</item>
<item>
<title>(Perl) Truncate filenames but keep file extensions intact - noah</title>
<link>http://snipplr.com/view/3127/truncate-filenames-but-keep-file-extensions-intact/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 03 Jul 2007 22:33:28 GMT</pubDate>
<guid>http://snipplr.com/view/3127/truncate-filenames-but-keep-file-extensions-intact/</guid>
</item>
<item>
<title>(Perl) Grab linked files from a list of web pages - noah</title>
<link>http://snipplr.com/view/3126/grab-linked-files-from-a-list-of-web-pages/</link>
<description><![CDATA[ <p>Expects as argument the name of a file containing a newline-delimited list of URLs.  When invoked, launches an interactive shell that asks what type of file should be downloaded.  Then downloads all the files that are linked from each of the listed Web pages.</p> ]]></description>
<pubDate>Tue, 03 Jul 2007 22:31:30 GMT</pubDate>
<guid>http://snipplr.com/view/3126/grab-linked-files-from-a-list-of-web-pages/</guid>
</item>
<item>
<title>(Perl) Remove duplicate lines from a text file - noah</title>
<link>http://snipplr.com/view/3124/remove-duplicate-lines-from-a-text-file/</link>
<description><![CDATA[ <p>Sometimes I get a big list of things, and some of the things occur multiple times in the same list.  A good example is a newline-delimited list of files: the same file path might be listed 4 or 5 times.  So this script removes those kinds of duplicate lines.

Found at Google Answers.</p> ]]></description>
<pubDate>Tue, 03 Jul 2007 22:06:34 GMT</pubDate>
<guid>http://snipplr.com/view/3124/remove-duplicate-lines-from-a-text-file/</guid>
</item>
<item>
<title>(Perl) Make a list of JPEGs into a slide show - noah</title>
<link>http://snipplr.com/view/3123/make-a-list-of-jpegs-into-a-slide-show/</link>
<description><![CDATA[ <p>Show jpegs one-per-page on a series of hyperlinked web pages.  Purpose was to provide a linear viewing mechanism for jpegs on my Palm Tungsten C.</p> ]]></description>
<pubDate>Tue, 03 Jul 2007 22:02:15 GMT</pubDate>
<guid>http://snipplr.com/view/3123/make-a-list-of-jpegs-into-a-slide-show/</guid>
</item>
<item>
<title>(Perl) Show JPEGs in this directory all on one page - noah</title>
<link>http://snipplr.com/view/3122/show-jpegs-in-this-directory-all-on-one-page/</link>
<description><![CDATA[ <p>Dumps a list of image names into an HTML document, wrapped in centered IMG tags.  Features the CENTER tag for added historical value.</p> ]]></description>
<pubDate>Tue, 03 Jul 2007 21:57:11 GMT</pubDate>
<guid>http://snipplr.com/view/3122/show-jpegs-in-this-directory-all-on-one-page/</guid>
</item>
<item>
<title>(Perl) show JPEGs in this directory in a simple HTML gallery - noah</title>
<link>http://snipplr.com/view/3121/show-jpegs-in-this-directory-in-a-simple-html-gallery/</link>
<description><![CDATA[ <p>Creates an HTML page with the first image in the directory in the center.  Forward and Back buttons scroll through all the images in the directory in order.

This is how I lived before Firefox ~.^</p> ]]></description>
<pubDate>Tue, 03 Jul 2007 21:53:26 GMT</pubDate>
<guid>http://snipplr.com/view/3121/show-jpegs-in-this-directory-in-a-simple-html-gallery/</guid>
</item>
<item>
<title>(Perl) Lecture ecriture fichier - olive</title>
<link>http://snipplr.com/view/2059/lecture-ecriture-fichier/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 01 Feb 2007 07:06:28 GMT</pubDate>
<guid>http://snipplr.com/view/2059/lecture-ecriture-fichier/</guid>
</item>
<item>
<title>(Perl) Text change across multiple files - noah</title>
<link>http://snipplr.com/view/2034/text-change-across-multiple-files/</link>
<description><![CDATA[ <p>Put this in a script called "update.pl" and call it with "ls *ext|xargs perl update.pl"  Be sure to back up the work directory before playing with this, as it is very easy to wipe out the content of a bunch of files at once in this way.</p> ]]></description>
<pubDate>Sun, 28 Jan 2007 09:01:18 GMT</pubDate>
<guid>http://snipplr.com/view/2034/text-change-across-multiple-files/</guid>
</item>
</channel>
</rss>