<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - noah</title>
<link>http://snipplr.com/users/noah/tags/file</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 07 Sep 2008 03:48:36 GMT</pubDate>
<item>
<title>(Bash) Alias a command and save it in .profile</title>
<link>http://snipplr.com/view/7400/alias-a-command-and-save-it-in-profile/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 19 Jul 2008 13:03:50 GMT</pubDate>
<guid>http://snipplr.com/view/7400/alias-a-command-and-save-it-in-profile/</guid>
</item>
<item>
<title>(Bash) tar basics</title>
<link>http://snipplr.com/view/7399/tar-basics/</link>
<description><![CDATA[ <p>You would think I'd have this memorized by now, but no.</p> ]]></description>
<pubDate>Sat, 19 Jul 2008 12:29:59 GMT</pubDate>
<guid>http://snipplr.com/view/7399/tar-basics/</guid>
</item>
<item>
<title>(Perl) age of file?</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</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</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</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</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</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</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</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</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</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>(Lisp) load an external file</title>
<link>http://snipplr.com/view/2933/load-an-external-file/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 18 Jun 2007 20:48:42 GMT</pubDate>
<guid>http://snipplr.com/view/2933/load-an-external-file/</guid>
</item>
<item>
<title>(Perl) Text change across multiple files</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>
<item>
<title>(Bash) Find a string across multiple files with different extensions</title>
<link>http://snipplr.com/view/2033/find-a-string-across-multiple-files-with-different-extensions/</link>
<description><![CDATA[ <p>Search many files for a string.  This example finds the string "thingy."  This is useful when I want to find, say, a CSS class name that has changed, and update it in all of my .js, .jsp and .jspf files.  

The -niP argument to grep is optional.  -n prints line numbers, -i makes search case-insensitive, and -P toggles Perl regular expression syntax.  (I'm not sure that -P works under Cygwin.)</p> ]]></description>
<pubDate>Sun, 28 Jan 2007 07:43:53 GMT</pubDate>
<guid>http://snipplr.com/view/2033/find-a-string-across-multiple-files-with-different-extensions/</guid>
</item>
</channel>
</rss>