Index: de.wigbels.ruby/mob2archiv/doc/created.rid
===================================================================
--- de.wigbels.ruby/mob2archiv/doc/created.rid	(revision bc5d5b24dec08dde79c0c967918e0b72bb94e1b6)
+++ de.wigbels.ruby/mob2archiv/doc/created.rid	(revision bc5d5b24dec08dde79c0c967918e0b72bb94e1b6)
@@ -0,0 +1,1 @@
+Thu Aug 25 20:37:34 CEST 2005
Index: de.wigbels.ruby/mob2archiv/doc/files/m2a_rb.html
===================================================================
--- de.wigbels.ruby/mob2archiv/doc/files/m2a_rb.html	(revision bc5d5b24dec08dde79c0c967918e0b72bb94e1b6)
+++ de.wigbels.ruby/mob2archiv/doc/files/m2a_rb.html	(revision bc5d5b24dec08dde79c0c967918e0b72bb94e1b6)
@@ -0,0 +1,196 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html 
+     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+  <title>File: m2a.rb</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+  <meta http-equiv="Content-Script-Type" content="text/javascript" />
+  <link rel="stylesheet" href=".././rdoc-style.css" type="text/css" media="screen" />
+  <script type="text/javascript">
+  // <![CDATA[
+
+  function popupCode( url ) {
+    window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
+  }
+
+  function toggleCode( id ) {
+    if ( document.getElementById )
+      elem = document.getElementById( id );
+    else if ( document.all )
+      elem = eval( "document.all." + id );
+    else
+      return false;
+
+    elemStyle = elem.style;
+    
+    if ( elemStyle.display != "block" ) {
+      elemStyle.display = "block"
+    } else {
+      elemStyle.display = "none"
+    }
+
+    return true;
+  }
+  
+  // Make codeblocks hidden by default
+  document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
+  
+  // ]]>
+  </script>
+
+</head>
+<body>
+
+
+
+  <div id="fileHeader">
+    <h1>m2a.rb</h1>
+    <table class="header-table">
+    <tr class="top-aligned-row">
+      <td><strong>Path:</strong></td>
+      <td>m2a.rb
+      </td>
+    </tr>
+    <tr class="top-aligned-row">
+      <td><strong>Last Update:</strong></td>
+      <td>Tue Aug 23 20:43:38 CEST 2005</td>
+    </tr>
+    </table>
+  </div>
+  <!-- banner header -->
+
+  <div id="bodyContent">
+
+
+
+  <div id="contextContent">
+
+    <div id="description">
+      <p>
+A little script that copies imagefiles from your Sony Ericsson K700i
+mobilephone to &lt;destination&gt;
+</p>
+
+    </div>
+
+
+   </div>
+
+    <div id="method-list">
+      <h3 class="section-bar">Methods</h3>
+
+      <div class="name-list">
+      <a href="#M000002">doCrudeObexAppComm</a>&nbsp;&nbsp;
+      <a href="#M000003">getObexIOObject</a>&nbsp;&nbsp;
+      <a href="#M000001">usage</a>&nbsp;&nbsp;
+      </div>
+    </div>
+
+  </div>
+
+
+    <!-- if includes -->
+
+    <div id="section">
+
+
+    <div id="constants-list">
+      <h3 class="section-bar">Constants</h3>
+
+      <div class="name-list">
+        <table summary="Constants">
+        <tr class="top-aligned-row context-row">
+          <td class="context-item-name">BD_ADDR</td>
+          <td>=</td>
+          <td class="context-item-value">&quot;trebroN&quot;</td>
+          <td width="3em">&nbsp;</td>
+          <td class="context-item-desc">
+SE K700i organizes the camera pictures in Bilder/camera_semc
+
+</td>
+        </tr>
+        <tr class="top-aligned-row context-row">
+          <td class="context-item-name">OBEX_DIR1</td>
+          <td>=</td>
+          <td class="context-item-value">&quot;Bilder&quot;</td>
+        </tr>
+        <tr class="top-aligned-row context-row">
+          <td class="context-item-name">OBEX_DIR2</td>
+          <td>=</td>
+          <td class="context-item-value">&quot;camera_semc&quot;</td>
+        </tr>
+        </table>
+      </div>
+    </div>
+
+
+
+      
+
+
+    <!-- if method_list -->
+    <div id="methods">
+      <h3 class="section-bar">Public Instance methods</h3>
+
+      <div id="method-M000002" class="method-detail">
+        <a name="M000002"></a>
+
+        <div class="method-heading">
+          <a href="m2a_rb.src/M000002.html" target="Code" class="method-signature"
+            onclick="popupCode('m2a_rb.src/M000002.html');return false;">
+          <span class="method-name">doCrudeObexAppComm</span><span class="method-args">()</span>
+          </a>
+        </div>
+      
+        <div class="method-description">
+        </div>
+      </div>
+
+      <div id="method-M000003" class="method-detail">
+        <a name="M000003"></a>
+
+        <div class="method-heading">
+          <a href="m2a_rb.src/M000003.html" target="Code" class="method-signature"
+            onclick="popupCode('m2a_rb.src/M000003.html');return false;">
+          <span class="method-name">getObexIOObject</span><span class="method-args">()</span>
+          </a>
+        </div>
+      
+        <div class="method-description">
+        </div>
+      </div>
+
+      <div id="method-M000001" class="method-detail">
+        <a name="M000001"></a>
+
+        <div class="method-heading">
+          <a href="m2a_rb.src/M000001.html" target="Code" class="method-signature"
+            onclick="popupCode('m2a_rb.src/M000001.html');return false;">
+          <span class="method-name">usage</span><span class="method-args">()</span>
+          </a>
+        </div>
+      
+        <div class="method-description">
+          <p>
+A little script that copies imagefiles from your Sony Ericsson K700i
+mobilephone to &lt;destination&gt;
+</p>
+        </div>
+      </div>
+
+
+    </div>
+
+
+  </div>
+
+
+<div id="validator-badges">
+  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
+</div>
+
+</body>
+</html>
Index: de.wigbels.ruby/mob2archiv/doc/files/m2a_rb.src/M000001.html
===================================================================
--- de.wigbels.ruby/mob2archiv/doc/files/m2a_rb.src/M000001.html	(revision bc5d5b24dec08dde79c0c967918e0b72bb94e1b6)
+++ de.wigbels.ruby/mob2archiv/doc/files/m2a_rb.src/M000001.html	(revision bc5d5b24dec08dde79c0c967918e0b72bb94e1b6)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html 
+     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html>
+<head>
+  <title>usage (m2a.rb)</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
+</head>
+<body class="standalone-code">
+  <pre><span class="ruby-comment cmt"># File m2a.rb, line 10</span>
+<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">usage</span>
+    <span class="ruby-identifier">puts</span> <span class="ruby-value str">&quot;usage: m2a.rb &lt;destination&gt;&quot;</span>
+    <span class="ruby-identifier">exit</span>(<span class="ruby-value">-1</span>)
+<span class="ruby-keyword kw">end</span></pre>
+</body>
+</html>
Index: de.wigbels.ruby/mob2archiv/doc/files/m2a_rb.src/M000002.html
===================================================================
--- de.wigbels.ruby/mob2archiv/doc/files/m2a_rb.src/M000002.html	(revision bc5d5b24dec08dde79c0c967918e0b72bb94e1b6)
+++ de.wigbels.ruby/mob2archiv/doc/files/m2a_rb.src/M000002.html	(revision bc5d5b24dec08dde79c0c967918e0b72bb94e1b6)
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html 
+     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html>
+<head>
+  <title>doCrudeObexAppComm (m2a.rb)</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
+</head>
+<body class="standalone-code">
+  <pre><span class="ruby-comment cmt"># File m2a.rb, line 24</span>
+<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">doCrudeObexAppComm</span>
+    <span class="ruby-keyword kw">begin</span>
+        <span class="ruby-identifier">cam</span> = <span class="ruby-identifier">getObexIOObject</span>
+        <span class="ruby-identifier">cam</span>.<span class="ruby-identifier">puts</span> <span class="ruby-value str">&quot;ls&quot;</span>
+        <span class="ruby-identifier">cam</span>.<span class="ruby-identifier">close_write</span>
+        <span class="ruby-identifier">lines</span> = <span class="ruby-identifier">cam</span>.<span class="ruby-identifier">readlines</span>
+        <span class="ruby-identifier">cam</span> = <span class="ruby-identifier">getObexIOObject</span>
+        <span class="ruby-identifier">lines</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">line</span><span class="ruby-operator">|</span>
+            <span class="ruby-identifier">line</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/Bild\(\d+\).jpg/</span>
+            <span class="ruby-comment cmt">#black-magic-ruby $&amp; holds the match</span>
+            <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">$&amp;</span>.<span class="ruby-identifier">nil?</span>
+                <span class="ruby-identifier">cam</span>.<span class="ruby-identifier">puts</span> <span class="ruby-value str">&quot;get&quot;</span>
+                <span class="ruby-identifier">cam</span>.<span class="ruby-identifier">puts</span> <span class="ruby-identifier">$&amp;</span>
+                <span class="ruby-identifier">cam</span>.<span class="ruby-identifier">puts</span> <span class="ruby-identifier">$destination</span><span class="ruby-operator">+</span><span class="ruby-value str">'/'</span><span class="ruby-operator">+</span><span class="ruby-identifier">$&amp;</span>
+                <span class="ruby-identifier">puts</span> <span class="ruby-value str">&quot;copy picture &quot;</span><span class="ruby-operator">+</span><span class="ruby-identifier">$&amp;</span><span class="ruby-operator">+</span><span class="ruby-value str">&quot; to to &quot;</span><span class="ruby-operator">+</span><span class="ruby-identifier">$destination</span>
+                <span class="ruby-comment cmt">#delete picturea after copying? uncomment...</span>
+                <span class="ruby-comment cmt">#doesn't work on my phone:(</span>
+                <span class="ruby-comment cmt">#cam.puts &quot;delete&quot;</span>
+                <span class="ruby-comment cmt">#cam.puts $&amp;</span>
+            <span class="ruby-keyword kw">end</span>
+    <span class="ruby-keyword kw">end</span>
+    <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Exception</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">ex</span>
+        <span class="ruby-identifier">puts</span>(<span class="ruby-identifier">ex</span>.<span class="ruby-identifier">to_s</span>)
+    <span class="ruby-keyword kw">ensure</span>
+        <span class="ruby-comment cmt"># TODO: ensure connection is closed</span>
+        <span class="ruby-identifier">cam</span>.<span class="ruby-identifier">puts</span> <span class="ruby-value str">&quot;disconnect&quot;</span> 
+        <span class="ruby-identifier">cam</span>.<span class="ruby-identifier">close</span>
+    <span class="ruby-keyword kw">end</span>
+<span class="ruby-keyword kw">end</span></pre>
+</body>
+</html>
Index: de.wigbels.ruby/mob2archiv/doc/files/m2a_rb.src/M000003.html
===================================================================
--- de.wigbels.ruby/mob2archiv/doc/files/m2a_rb.src/M000003.html	(revision bc5d5b24dec08dde79c0c967918e0b72bb94e1b6)
+++ de.wigbels.ruby/mob2archiv/doc/files/m2a_rb.src/M000003.html	(revision bc5d5b24dec08dde79c0c967918e0b72bb94e1b6)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html 
+     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html>
+<head>
+  <title>getObexIOObject (m2a.rb)</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+  <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
+</head>
+<body class="standalone-code">
+  <pre><span class="ruby-comment cmt"># File m2a.rb, line 54</span>
+<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">getObexIOObject</span>
+        <span class="ruby-identifier">cam</span> = <span class="ruby-constant">IO</span>.<span class="ruby-identifier">popen</span>(<span class="ruby-node">&quot;obexapp -a #{BD_ADDR} -C OPUSH&quot;</span>,  <span class="ruby-value str">&quot;w+&quot;</span>)
+        <span class="ruby-identifier">cam</span>.<span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;cd #{OBEX_DIR1}&quot;</span>
+        <span class="ruby-identifier">cam</span>.<span class="ruby-identifier">puts</span> <span class="ruby-node">&quot;cd #{OBEX_DIR2}&quot;</span>
+        <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">cam</span>
+<span class="ruby-keyword kw">end</span></pre>
+</body>
+</html>
Index: de.wigbels.ruby/mob2archiv/doc/fr_class_index.html
===================================================================
--- de.wigbels.ruby/mob2archiv/doc/fr_class_index.html	(revision bc5d5b24dec08dde79c0c967918e0b72bb94e1b6)
+++ de.wigbels.ruby/mob2archiv/doc/fr_class_index.html	(revision bc5d5b24dec08dde79c0c967918e0b72bb94e1b6)
@@ -0,0 +1,26 @@
+
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html 
+     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<!--
+
+    Classes
+
+  -->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+  <title>Classes</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+  <link rel="stylesheet" href="rdoc-style.css" type="text/css" />
+  <base target="docwin" />
+</head>
+<body>
+<div id="index">
+  <h1 class="section-bar">Classes</h1>
+  <div id="index-entries">
+  </div>
+</div>
+</body>
+</html>
Index: de.wigbels.ruby/mob2archiv/doc/fr_file_index.html
===================================================================
--- de.wigbels.ruby/mob2archiv/doc/fr_file_index.html	(revision bc5d5b24dec08dde79c0c967918e0b72bb94e1b6)
+++ de.wigbels.ruby/mob2archiv/doc/fr_file_index.html	(revision bc5d5b24dec08dde79c0c967918e0b72bb94e1b6)
@@ -0,0 +1,27 @@
+
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html 
+     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<!--
+
+    Files
+
+  -->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+  <title>Files</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+  <link rel="stylesheet" href="rdoc-style.css" type="text/css" />
+  <base target="docwin" />
+</head>
+<body>
+<div id="index">
+  <h1 class="section-bar">Files</h1>
+  <div id="index-entries">
+    <a href="files/m2a_rb.html">m2a.rb</a><br />
+  </div>
+</div>
+</body>
+</html>
Index: de.wigbels.ruby/mob2archiv/doc/fr_method_index.html
===================================================================
--- de.wigbels.ruby/mob2archiv/doc/fr_method_index.html	(revision bc5d5b24dec08dde79c0c967918e0b72bb94e1b6)
+++ de.wigbels.ruby/mob2archiv/doc/fr_method_index.html	(revision bc5d5b24dec08dde79c0c967918e0b72bb94e1b6)
@@ -0,0 +1,29 @@
+
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html 
+     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<!--
+
+    Methods
+
+  -->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+  <title>Methods</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+  <link rel="stylesheet" href="rdoc-style.css" type="text/css" />
+  <base target="docwin" />
+</head>
+<body>
+<div id="index">
+  <h1 class="section-bar">Methods</h1>
+  <div id="index-entries">
+    <a href="files/m2a_rb.html#M000002">doCrudeObexAppComm (m2a.rb)</a><br />
+    <a href="files/m2a_rb.html#M000003">getObexIOObject (m2a.rb)</a><br />
+    <a href="files/m2a_rb.html#M000001">usage (m2a.rb)</a><br />
+  </div>
+</div>
+</body>
+</html>
Index: de.wigbels.ruby/mob2archiv/doc/index.html
===================================================================
--- de.wigbels.ruby/mob2archiv/doc/index.html	(revision bc5d5b24dec08dde79c0c967918e0b72bb94e1b6)
+++ de.wigbels.ruby/mob2archiv/doc/index.html	(revision bc5d5b24dec08dde79c0c967918e0b72bb94e1b6)
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!DOCTYPE html 
+     PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
+     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
+
+<!--
+
+    RDoc Documentation
+
+  -->
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+  <title>RDoc Documentation</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+</head>
+<frameset rows="20%, 80%">
+    <frameset cols="25%,35%,45%">
+        <frame src="fr_file_index.html"   title="Files" name="Files" />
+        <frame src="fr_class_index.html"  name="Classes" />
+        <frame src="fr_method_index.html" name="Methods" />
+    </frameset>
+    <frame src="files/m2a_rb.html" name="docwin" />
+</frameset>
+</html>
Index: de.wigbels.ruby/mob2archiv/doc/rdoc-style.css
===================================================================
--- de.wigbels.ruby/mob2archiv/doc/rdoc-style.css	(revision bc5d5b24dec08dde79c0c967918e0b72bb94e1b6)
+++ de.wigbels.ruby/mob2archiv/doc/rdoc-style.css	(revision bc5d5b24dec08dde79c0c967918e0b72bb94e1b6)
@@ -0,0 +1,208 @@
+
+body {
+    font-family: Verdana,Arial,Helvetica,sans-serif;
+    font-size:   90%;
+    margin: 0;
+    margin-left: 40px;
+    padding: 0;
+    background: white;
+}
+
+h1,h2,h3,h4 { margin: 0; color: #efefef; background: transparent; }
+h1 { font-size: 150%; }
+h2,h3,h4 { margin-top: 1em; }
+
+a { background: #eef; color: #039; text-decoration: none; }
+a:hover { background: #039; color: #eef; }
+
+/* Override the base stylesheet's Anchor inside a table cell */
+td > a {
+  background: transparent;
+  color: #039;
+  text-decoration: none;
+}
+
+/* and inside a section title */
+.section-title > a {
+  background: transparent;
+  color: #eee;
+  text-decoration: none;
+}
+
+/* === Structural elements =================================== */
+
+div#index {
+    margin: 0;
+    margin-left: -40px;
+    padding: 0;
+    font-size: 90%;
+}
+
+
+div#index a {
+    margin-left: 0.7em;
+}
+
+div#index .section-bar {
+   margin-left: 0px;
+   padding-left: 0.7em;
+   background: #ccc;
+   font-size: small;
+}
+
+
+div#classHeader, div#fileHeader {
+    width: auto;
+    color: white;
+    padding: 0.5em 1.5em 0.5em 1.5em;
+    margin: 0;
+    margin-left: -40px;
+    border-bottom: 3px solid #006;
+}
+
+div#classHeader a, div#fileHeader a {
+    background: inherit;
+    color: white;
+}
+
+div#classHeader td, div#fileHeader td {
+    background: inherit;
+    color: white;
+}
+
+
+div#fileHeader {
+    background: #057;
+}
+
+div#classHeader {
+    background: #048;
+}
+
+
+.class-name-in-header {
+  font-size:  180%;
+  font-weight: bold;
+}
+
+
+div#bodyContent {
+    padding: 0 1.5em 0 1.5em;
+}
+
+div#description {
+    padding: 0.5em 1.5em;
+    background: #efefef;
+    border: 1px dotted #999;
+}
+
+div#description h1,h2,h3,h4,h5,h6 {
+    color: #125;;
+    background: transparent;
+}
+
+div#validator-badges {
+    text-align: center;
+}
+div#validator-badges img { border: 0; }
+
+div#copyright {
+    color: #333;
+    background: #efefef;
+    font: 0.75em sans-serif;
+    margin-top: 5em;
+    margin-bottom: 0;
+    padding: 0.5em 2em;
+}
+
+
+/* === Classes =================================== */
+
+table.header-table {
+    color: white;
+    font-size: small;
+}
+
+.type-note {
+    font-size: small;
+    color: #DEDEDE;
+}
+
+.xxsection-bar {
+    background: #eee;
+    color: #333;
+    padding: 3px;
+}
+
+.section-bar {
+   color: #333;
+   border-bottom: 1px solid #999;
+    margin-left: -20px;
+}
+
+
+.section-title {
+    background: #79a;
+    color: #eee;
+    padding: 3px;
+    margin-top: 2em;
+    margin-left: -30px;
+    border: 1px solid #999;
+}
+
+.top-aligned-row {  vertical-align: top }
+.bottom-aligned-row { vertical-align: bottom }
+
+/* --- Context section classes ----------------------- */
+
+.context-row { }
+.context-item-name { font-family: monospace; font-weight: bold; color: black; }
+.context-item-value { font-size: small; color: #448; }
+.context-item-desc { color: #333; padding-left: 2em; }
+
+/* --- Method classes -------------------------- */
+.method-detail {
+    background: #efefef;
+    padding: 0;
+    margin-top: 0.5em;
+    margin-bottom: 1em;
+    border: 1px dotted #ccc;
+}
+.method-heading {
+  color: black;
+  background: #ccc;
+  border-bottom: 1px solid #666;
+  padding: 0.2em 0.5em 0 0.5em;
+}
+.method-signature { color: black; background: inherit; }
+.method-name { font-weight: bold; }
+.method-args { font-style: italic; }
+.method-description { padding: 0 0.5em 0 0.5em; }
+
+/* --- Source code sections -------------------- */
+
+a.source-toggle { font-size: 90%; }
+div.method-source-code {
+    background: #262626;
+    color: #ffdead;
+    margin: 1em;
+    padding: 0.5em;
+    border: 1px dashed #999;
+    overflow: hidden;
+}
+
+div.method-source-code pre { color: #ffdead; overflow: hidden; }
+
+/* --- Ruby keyword styles --------------------- */
+
+.standalone-code { background: #221111; color: #ffdead; overflow: hidden; }
+
+.ruby-constant  { color: #7fffd4; background: transparent; }
+.ruby-keyword { color: #00ffff; background: transparent; }
+.ruby-ivar    { color: #eedd82; background: transparent; }
+.ruby-operator  { color: #00ffee; background: transparent; }
+.ruby-identifier { color: #ffdead; background: transparent; }
+.ruby-node    { color: #ffa07a; background: transparent; }
+.ruby-comment { color: #b22222; font-weight: bold; background: transparent; }
+.ruby-regexp  { color: #ffa07a; background: transparent; }
+.ruby-value   { color: #7fffd4; background: transparent; }
Index: de.wigbels.ruby/mob2archiv/m2a.rb
===================================================================
--- de.wigbels.ruby/mob2archiv/m2a.rb	(revision bc5d5b24dec08dde79c0c967918e0b72bb94e1b6)
+++ de.wigbels.ruby/mob2archiv/m2a.rb	(revision bc5d5b24dec08dde79c0c967918e0b72bb94e1b6)
@@ -0,0 +1,62 @@
+#!/usr/local/bin/ruby -w
+#
+#######################################################################
+# A little script that copies imagefiles from your
+# Sony Ericsson K700i mobilephone to <destination>
+#######################################################################
+#
+# 
+
+def usage
+    puts "usage: m2a.rb <destination>"
+    exit(-1)
+end
+
+usage if ARGV.length != 1
+$destination  = ARGV[0]
+
+# SE K700i organizes the camera pictures in Bilder/camera_semc
+BD_ADDR   = "trebroN"
+OBEX_DIR1 = "Bilder"
+OBEX_DIR2 = "camera_semc"
+
+
+def doCrudeObexAppComm
+    begin
+        cam = getObexIOObject
+        cam.puts "ls"
+        cam.close_write
+        lines = cam.readlines
+        cam = getObexIOObject
+        lines.each do |line|
+            line =~ /Bild\(\d+\).jpg/
+            #black-magic-ruby $& holds the match
+            if !$&.nil?
+                cam.puts "get"
+                cam.puts $&
+                cam.puts $destination+'/'+$&
+                puts "copy picture "+$&+" to to "+$destination
+                #delete picturea after copying? uncomment...
+                #doesn't work on my phone:(
+                #cam.puts "delete"
+                #cam.puts $&
+            end
+    end
+    rescue Exception => ex
+        puts(ex.to_s)
+    ensure
+        # TODO: ensure connection is closed
+        cam.puts "disconnect" 
+        cam.close
+    end
+end
+
+def getObexIOObject
+        cam = IO.popen("obexapp -a #{BD_ADDR} -C OPUSH",  "w+")
+        cam.puts "cd #{OBEX_DIR1}"
+        cam.puts "cd #{OBEX_DIR2}"
+        return cam
+end
+
+# start here
+doCrudeObexAppComm
