<?xml version="1.0"?>
<!DOCTYPE content [ <!ENTITY nbsp " "> ]>
<rdf:RDF xml:base="http://snarfed.org/rdf"
         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dc="http://purl.org/dc/elements/1.1/">

<rdf:Description rdf:about="http://snarfed.org">
  <dc:title> snarfed.org  </dc:title>
  <dc:description> draw group stream of consciousness </dc:description>
  <dc:creator> Ryan Barrett &lt;snarfed at ryanb dot org&gt; </dc:creator>
  <dc:language> en </dc:language>
  <dc:format> text/html </dc:format>
  <dc:rights> Copyright 2002-2007 Ryan Barrett </dc:rights>
</rdf:Description>

<rdf:Description rdf:about="http://snarfed.org/space/folderstat">
  <dc:title> folderstat </dc:title>
  <dc:creator> Ryan Barrett &lt;snarfed at ryanb dot org&gt; </dc:creator>
  <dc:date> 2003-01-01T05:00:00Z </dc:date>
  <dc:language> en </dc:language>
  <dc:format> text/html </dc:format>
  <dc:rights> Copyright 2002-2007 Ryan Barrett </dc:rights>

  <content>
    <p><img src="/space/folder.jpg" alt="/space/folder.jpg" title="" /></p>

<p>For the impatient: <br />
<a href="/space/folderstat.cpp">Download folderstat.cpp</a><a href="/space/folderstat.cpp"> <br />
Folderstat</a> is a program that reports the
sizes of each of the foldrs in an IMAP account. It uses
<a href="http://www.washington.edu/pine/">pine</a> as an IMAP client, so you'll need to
have an IMAP account set up in pine, and you'll need to have pine in your path.</p>

<p>Unless you have pine set up to use ssh-agent or a password file, it will ask you
to authenticate once for each folder, so it's not really useful for accounts
that use SSL/TLS or otherwise require authentication. However, it is a decent
example of iostreams and STL usage in C++.</p>

<p>To compile on *nix, just do <code>g++ folderstat.cpp</code>. On Windows, just load it in
your IDE of choice and compile it. :P</p>

<p>Eventually, I might re-implement this using Python's
<a href="http://www.python.org/doc/current/lib/module-imaplib.html">imaplib</a>, including
support for authenticating to GSS-API capable imap servers.</p>

<p>Folderstat is Copyright 1999 Ryan Barrett, and is distributed under the
<a href="http://www.gnu.org/licenses/gpl.html">GPL</a>.</p>

  </content>

  <rdf:Seq>

  </rdf:Seq>
</rdf:Description>
</rdf:RDF>
