<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://blog.f4k3.net/fake/index.php/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>fake's blog - Tag - osx</title>
  <link>http://blog.f4k3.net/fake/index.php/</link>
  <atom:link href="http://blog.f4k3.net/fake/index.php/feed/tag/osx/rss2" rel="self" type="application/rss+xml"/>
  <description>everything fake</description>
  <language>en</language>
  <pubDate>Wed, 29 Jun 2011 16:51:30 +0200</pubDate>
  <copyright></copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>one-liner for changing file endings</title>
    <link>http://blog.f4k3.net/fake/index.php/post/2009/05/10/one-liner-for-renaming-files</link>
    <guid isPermaLink="false">urn:md5:21bc2ef7b0d55be727b1c7db86073744</guid>
    <pubDate>Sun, 10 May 2009 19:13:00 +0200</pubDate>
    <dc:creator>fake</dc:creator>
        <category>code</category><category>linux</category><category>osx</category>    
    <description>    i have not been blogging for quite some time, i noticed when replacing the blog software; so now i keep constantly thinking about what i may blog, so a little more density in the posts evolves ;-)&lt;br /&gt;
&lt;br /&gt;
here's today's note; i just needed it and figured someone might say &quot;aaw! that's useful&quot; - a one-liner to use in bash for changing the extension of given files in a directory. bash is the shell that is by default installed in mac os x, and opens when you start the &quot;Terminal&quot; application. It is also the default in almost all linux distributions.&lt;br /&gt;
&lt;br /&gt;
in this example, i rename all .mp4 files to .m4v (thanks, ps3...). adapt as needed.&lt;br /&gt;
&lt;pre&gt;for i in *.mp4 ; do mv &quot;$i&quot; &quot;${i%%mp4}m4v&quot; ; done
&lt;/pre&gt;
the %% operator strips the string following it from the end of the variable's content. the ## operator does the same, but at the beginning of the string.</description>
    
    
    
          <comments>http://blog.f4k3.net/fake/index.php/post/2009/05/10/one-liner-for-renaming-files#comment-form</comments>
      <wfw:comment>http://blog.f4k3.net/fake/index.php/post/2009/05/10/one-liner-for-renaming-files#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.f4k3.net/fake/index.php/feed/atom/comments/52</wfw:commentRss>
      </item>
    
  <item>
    <title>exportPB4Fritz updated</title>
    <link>http://blog.f4k3.net/fake/index.php/post/2008/11/09/exportPB4Fritz-updated</link>
    <guid isPermaLink="false">urn:md5:456c6247e5a05985aed89008747c901a</guid>
    <pubDate>Sun, 09 Nov 2008 14:04:00 +0100</pubDate>
    <dc:creator>fake</dc:creator>
        <category>code</category><category>osx</category>    
    <description>    i just updated the exportPB4Fritz.py skript so it can handle contacts that do not have a first, but a lastname set.
a minor fix, of course, just thought i'd quickly replace the version from &lt;a href=&quot;http://blog.f4k3.net/fake/entry/avm_fritz_box_vs_os&quot;&gt;the original posting&lt;/a&gt; so people not into python can use it with &quot;interesting&quot; os x address books ;-)
the download url is the same, it's in the blog post linked above.</description>
    
    
    
          <comments>http://blog.f4k3.net/fake/index.php/post/2008/11/09/exportPB4Fritz-updated#comment-form</comments>
      <wfw:comment>http://blog.f4k3.net/fake/index.php/post/2008/11/09/exportPB4Fritz-updated#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.f4k3.net/fake/index.php/feed/atom/comments/48</wfw:commentRss>
      </item>
    
  <item>
    <title>AVM Fritz! Box vs. OS X Address Book</title>
    <link>http://blog.f4k3.net/fake/index.php/post/2008/10/04/AVM-Fritz%21-Box-vs.-OS-X-Address-Book</link>
    <guid isPermaLink="false">urn:md5:2cadc8c94718352e35dacb1ca18c148a</guid>
    <pubDate>Sat, 04 Oct 2008 21:43:00 +0200</pubDate>
    <dc:creator>fake</dc:creator>
        <category>code</category><category>osx</category>    
    <description>    &lt;div style=&quot;float: right; padding-left: 8px; padding-bottom: 8px; padding-top: 8px;&quot;&gt;&lt;img src=&quot;http://blog.f4k3.net/fake/resource/fritzappleab.png&quot; border=&quot;0&quot; /&gt;&lt;/div&gt;
I am a pretty happy user of a &lt;a href=&quot;http://www.freetz.org/&quot; target=&quot;_new&quot;&gt;freetz&lt;/a&gt;'d AVM Fritz! Box 7140 for a while now, the only thing bugging me was the lack of an address book import built into the box.
i tried messing around with the &lt;a href=&quot;http://www.wehavemorefun.de/fritzbox/index.php/XML-Adressbuch&quot; target=&quot;_new&quot;&gt;/var/flash/phonebook&lt;/a&gt; file, but for some reason my xml files kept being rejected.
ultimately, i found a utility called &quot;Fritz!box Monitor&quot; or short FBM, which is &lt;a href=&quot;ftp://ftp.avm.de/fritz.box/tools/fbm/&quot; target=&quot;_new&quot;&gt;supplied by AVM&lt;/a&gt;. It can import CSV files in a certain (pretty weird) format, so i re-wrote my xml-generator to print out that format instead. FBM's a windows program of course, so fire up your parallels/fusion/qemu/whatever.
You have to edit &lt;tt&gt;fritzboxmonitor.ini&lt;/tt&gt; in it's program directory before using this, and set the key &lt;tt&gt;ExportAll&lt;/tt&gt; to &lt;tt&gt;1&lt;/tt&gt;. I also set the &lt;tt&gt;AutoSpeedDial&lt;/tt&gt; entry to &lt;tt&gt;0&lt;/tt&gt; because i don't use speed dialing and thus the csv exporter doesn't support it.
The exporter is written in python, i used &lt;a href=&quot;http://www.programmish.com/?p=26&quot; target=&quot;_new&quot;&gt;this script&lt;/a&gt; as a basis. It's an ugly quick hack, so bear with me. It should work with mac os x 10.5.5 stock python, probably earlier, too.
You can find the exporter script &lt;a href=&quot;http://blog.f4k3.net/fake/resource/exportPB4Fritz.py&quot;&gt;here&lt;/a&gt;.
i also came up with a version that exports to a windows-addressbook-reimportable format; i use it to push my contacts to a siemens gigaset sl56 bluetooth enabled dect phone, which only supports a windows program as source either. that version is &lt;a href=&quot;http://blog.f4k3.net/fake/resource/exportPB4GigaSet.py&quot;&gt;here&lt;/a&gt;.</description>
    
    
    
          <comments>http://blog.f4k3.net/fake/index.php/post/2008/10/04/AVM-Fritz%21-Box-vs.-OS-X-Address-Book#comment-form</comments>
      <wfw:comment>http://blog.f4k3.net/fake/index.php/post/2008/10/04/AVM-Fritz%21-Box-vs.-OS-X-Address-Book#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.f4k3.net/fake/index.php/feed/atom/comments/47</wfw:commentRss>
      </item>
    
</channel>
</rss>
