    <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/">
     <channel>
        <title>www.nyback.com :: Artiklar :: News Articles</title>
        <link>http://www.nyback.com/index.php</link>
        <description>my email is andreas  at nyback.com</description>
        <dc:language>en-us</dc:language> 
        <dc:creator>andreas</dc:creator> 
        <admin:generatorAgent rdf:resource="http://www.xaraya.org" /> 
        <admin:errorReportsTo rdf:resource="mailto:andreas@nyback.com" />
       <sy:updatePeriod>hourly</sy:updatePeriod>
       <sy:updateFrequency>1</sy:updateFrequency>
       <docs>http://backend.userland.com/rss</docs>
            <item>
<title>Minecraft server</title>
<link>http://www.nyback.com/index.php/articles/news/70</link>
<pubDate>Fri, 13 Apr 2012 09:31:26 GMT</pubDate>
<content:format rdf:resource="http://www.w3.org/1999/xhtml" />
<content:encoded><![CDATA[ <p>join my minecra</p> ]]></content:encoded>
<description>join my minecra</description>
<guid isPermaLink="true">http://www.nyback.com/index.php/articles/news/70</guid>
</item>
            <item>
<title>tmux minecraft gentoo notes</title>
<link>http://www.nyback.com/index.php/articles/news/69</link>
<pubDate>Sat, 11 Feb 2012 19:17:26 GMT</pubDate>
<content:format rdf:resource="http://www.w3.org/1999/xhtml" />
<content:encoded><![CDATA[ <p># ssh gentoo</p>
<p># ps -ef | grep tmux</p>
<p>note the paths to tmux sessions /tmp/tmux-xxx</p>
<p># tmux -S /tmp/tmux-minecraft-main attach</p>
<p>[Ctrl] %    (add pane)</p>
<p>[Ctrl] o     (switch between panes)</p>
<p>[Ctrl] b d  (detach when in the other pane)</p> ]]></content:encoded>
<description># ssh gentoo
# ps -ef | grep tmux
note the paths to tmux sessions /tmp/tmux-xxx
# tmux -S /tmp/tmux-minecraft-main attach
[Ctrl] %    (add pane)
[Ctrl] o     (switch between panes)
[Ctrl] b d  (detach when in the other pane)</description>
<guid isPermaLink="true">http://www.nyback.com/index.php/articles/news/69</guid>
</item>
            <item>
<title>Mera gamla foton</title>
<link>http://www.nyback.com/index.php/articles/news/68</link>
<pubDate>Sun, 23 Jan 2011 15:25:31 GMT</pubDate>
<content:format rdf:resource="http://www.w3.org/1999/xhtml" />
<content:encoded><![CDATA[ <p><a href="index.php?module=gallery2&amp;g2_itemId=93676" rel="external">Jul i västerås 2007</a></p> ]]></content:encoded>
<description>Jul i västerås 2007</description>
<guid isPermaLink="true">http://www.nyback.com/index.php/articles/news/68</guid>
</item>
            <item>
<title>Nya (gamla) foton</title>
<link>http://www.nyback.com/index.php/articles/news/67</link>
<pubDate>Sat, 08 Jan 2011 15:25:05 GMT</pubDate>
<content:format rdf:resource="http://www.w3.org/1999/xhtml" />
<content:encoded><![CDATA[ <p>Alla från farmor och farfars kamera</p>
<p><a href="gallery/main.php?g2_itemId=92953" rel="external">Höst i täby</a> 2008</p>
<p><a href="gallery/main.php?g2_itemId=92953" rel="external">Februari</a> 2009</p>
<p><a href="gallery/main.php?g2_itemId=93065" rel="external">Gabriella 2 år</a></p>
<p><a href="gallery/main.php?g2_itemId=93091" rel="external">Angelicas student</a></p>
<p><a href="index.php?module=gallery2&amp;g2_itemId=93150" rel="external">April 2009</a></p>
<p><a href="gallery/main.php?g2_itemId=93164" rel="external">Maj 2009</a></p>
<p><a href="gallery/main.php?g2_itemId=93169" rel="external">Juni 2009</a></p>
<p><a href="index.php?module=gallery2&amp;g2_itemId=93391" rel="external">Juli 2009</a></p>
<p><a href="gallery/main.php?g2_itemId=93338" rel="external">Augusti 2009</a></p>
<p><a href="index.php?module=gallery2&amp;g2_itemId=93327" rel="external">September 2009</a></p>
<p><a href="index.php?module=gallery2&amp;g2_itemId=93307" rel="external">Oktober 2009</a></p>
<p><a href="gallery/main.php?g2_itemId=93287" rel="external">November 2009</a></p>
<p><a href="index.php?module=gallery2&amp;g2_itemId=93170" rel="external">December 2009</a></p>
<p> </p>
<p> </p> ]]></content:encoded>
<description>Alla från farmor och farfars kamera
Höst i täby 2008
Februari 2009
Gabriella 2 år
Angelicas student
April 2009
Maj 2009
Juni 2009
Juli 2009
Augusti 2009
September 2009
Oktober 2009
November 2009
December 2009
 
 </description>
<guid isPermaLink="true">http://www.nyback.com/index.php/articles/news/67</guid>
</item>
            <item>
<title>Deleting left over raw/nef image files</title>
<link>http://www.nyback.com/index.php/articles/news/66</link>
<pubDate>Sat, 06 Nov 2010 07:45:52 GMT</pubDate>
<content:format rdf:resource="http://www.w3.org/1999/xhtml" />
<content:encoded><![CDATA[ <p>My camera is set to save both a jpg and a raw nef files for every photo i take.<br />When i process my photos i do it on the jpg files. A lot of them gets deleted as they are not worth to keep.</p>
<p>When i am done there is a lot of nef files with their corresponding jpg deleted. To simply just delete all the nef files that have no corresponding jpg file i run this bash script:</p>
<pre>for file in *.nef; do<br /> if [ ! -e $name.jpg ]; then<br />  rm $name.nef <br /> fi<br />done</pre>
<p>Or enhanced version to show the list of orphaned nef files and ask for confirmation:</p>
<pre>renamexm -l *<br />len=${#files[*]}<br />i=0<br />while [ $i -lt $len ]; do<br /> name=${files[$i]%\.*}<br /> if [ ! -e &quot;$name.jpg&quot; ]; then<br />  echo &quot;$name.nef&quot;<br /> fi<br /> let i++<br />done<br />read -n1 -p &quot;Want to delete those? (y/n) &quot;<br />if [[ $REPLY =~ ^[Yy]$ ]] ; then<br /> echo<br /> echo deleting...<br /> i=0<br /> while [ $i -lt $len ]; do<br />  name=${files[$i]%\.*}<br />  if [ ! -e &quot;$name.jpg&quot; ]; then<br />   rm &quot;$name.nef&quot;<br />  fi<br />  let i++<br /> done<br />else<br /> echo<br /> echo none deleted<br />fi</pre> ]]></content:encoded>
<description>My camera is set to save both a jpg and a raw nef files for every photo i take.&lt;
&gt;When i process my photos i do it on the jpg files. A lot of them gets deleted as they are not worth to keep.
When i am done there is a lot of nef files with their corresponding jpg deleted. To simply just delete all the nef files that have no corresponding jpg file i run this bash script:
for file in *.nef; do&lt;
&gt; if [ ! -e $name.jpg ]; then&lt;
&gt;  rm $name.nef &lt;
&gt; fi&lt;
&gt;done
Or enhanced version to show the list of orphaned nef files and ask for confirmation:
renamexm -l *&lt;
&gt;len=${#files[*]}&lt;
&gt;i=0&lt;
&gt;while [ $i -lt $len ]; do&lt;
&gt; name=${files[$i]%\.*}&lt;
&gt; if [ ! -e &quot;$name.jpg&quot; ]; then&lt;
&gt;  echo &quot;$name.nef&quot;&lt;
&gt; fi&lt;
&gt; let i++&lt;
&gt;done&lt;
&gt;read -n1 -p &quot;Want to delete those? (y/n) &quot;&lt;
&gt;if [[ $REPLY =~ ^[Yy]$ ]] ; then&lt;
&gt; echo&lt;
&gt; echo deleting...&lt;
&gt; i=0&lt;
&gt; while [ $i -lt $len ]; do&lt;
&gt;  name=${files[$i]%\.*}&lt;
&gt;  if [ ! -e &quot;$name.jpg&quot; ]; then&lt;
&gt;   rm &quot;$name.nef&quot;&lt;
&gt;  fi&lt;
&gt;  let i++&lt;
&gt; done&lt;
&gt;else&lt;
&gt; echo&lt;
&gt; echo none deleted&lt;
&gt;fi</description>
<guid isPermaLink="true">http://www.nyback.com/index.php/articles/news/66</guid>
</item>
            <item>
<title>skoluppgift</title>
<link>http://www.nyback.com/index.php/articles/news/65</link>
<pubDate>Fri, 19 Mar 2010 14:25:08 GMT</pubDate>
<content:format rdf:resource="http://www.w3.org/1999/xhtml" />
<content:encoded><![CDATA[ När jag fick nobelpriset i fred och teknik ]]></content:encoded>
<description>När jag fick nobelpriset i fred och teknik</description>
<guid isPermaLink="true">http://www.nyback.com/index.php/articles/news/65</guid>
</item>
            <item>
<title>clean up your old files</title>
<link>http://www.nyback.com/index.php/articles/news/64</link>
<pubDate>Sun, 25 Oct 2009 08:07:03 GMT</pubDate>
<content:format rdf:resource="http://www.w3.org/1999/xhtml" />
<content:encoded><![CDATA[ <p>These are handy to clean up your home folder.<br /><br />To list all files older then 1 year:</p>
<p> </p>
<pre>find . -type f -mtime +356 -ls</pre>
<p> </p>
<p>To delete them:</p>
<p> </p>
<pre>find . -type f -mtime +356 | xargs rm</pre>
<p> </p>
<p>To list all empty folders:</p>
<p> </p>
<pre>find -depth -type d -empty</pre>
<p> </p>
<p>To delete all the empty folders:</p>
<p> </p>
<pre>find -depth -type d -empty -exec rmdir {} \;</pre>
<p> </p>
<p>To &quot;touch&quot; all files in a folder recursively:</p>
<p> </p>
<pre>find [foldername] -print0 | xargs -r0 touch</pre>
<p> </p>
<p>To list only the top name of hidden files or folders older then one year:</p>
<p> </p>
<pre>find . -maxdepth 1 -mtime +356 \( -iname &quot;.*&quot; \) -ls<br /><br /></pre>
<p>To remove all dead links in a folder:</p>
<pre>find -L /usr/lib/ -maxdepth 1 -type l -delete<br /></pre> ]]></content:encoded>
<description>These are handy to clean up your home folder.&lt;
&gt;&lt;
&gt;To list all files older then 1 year:
 
find . -type f -mtime +356 -ls
 
To delete them:
 
find . -type f -mtime +356 | xargs rm
 
To list all empty folders:
 
find -depth -type d -empty
 
To delete all the empty folders:
 
find -depth -type d -empty -exec rmdir {} \;
 
To &quot;touch&quot; all files in a folder recursively:
 
find [foldername] -print0 | xargs -r0 touch
 
To list only the top name of hidden files or folders older then one year:
 
find . -maxdepth 1 -mtime +356 \( -iname &quot;.*&quot; \) -ls&lt;
&gt;&lt;
&gt;
To remove all dead links in a folder:
find -L /usr/lib/ -maxdepth 1 -type l -delete&lt;
&gt;</description>
<guid isPermaLink="true">http://www.nyback.com/index.php/articles/news/64</guid>
</item>
            <item>
<title>Bilder</title>
<link>http://www.nyback.com/index.php/articles/news/63</link>
<pubDate>Mon, 20 Apr 2009 00:11:47 GMT</pubDate>
<content:format rdf:resource="http://www.w3.org/1999/xhtml" />
<content:encoded><![CDATA[ Bilder från Melvins <a href="/index.php?module=gallery2&g2_itemId=34331" rel="external">1-års kalas</a>. ]]></content:encoded>
<description>Bilder från Melvins 1-års kalas.</description>
<guid isPermaLink="true">http://www.nyback.com/index.php/articles/news/63</guid>
</item>
            <item>
<title>Bilder</title>
<link>http://www.nyback.com/index.php/articles/news/62</link>
<pubDate>Sun, 22 Mar 2009 22:04:15 GMT</pubDate>
<content:format rdf:resource="http://www.w3.org/1999/xhtml" />
<content:encoded><![CDATA[ <p><a href="/index.php?module=gallery2&g2_itemId=33861" rel="external">jul 2007</a> <br /><a href="/index.php?module=gallery2&g2_itemId=26366&g2_page=25" rel="external">4 små filmer bergö sommaren 2007</a> <br /><a href="/index.php?module=gallery2&g2_itemId=34236" rel="external">Andreas 40</a> <br /><a href="/index.php?module=gallery2&g2_itemId=31771&g2_page=2" rel="external">5 systrar</a> <br /><a href="/index.php?module=gallery2&g2_itemId=33926" rel="external">Bergö</a> <br /><a href="http://www.nyback.com/index.php?module=gallery2&g2_itemId=13058&g2_page=3" rel="external">Några fler historiska</a></p> ]]></content:encoded>
<description>jul 2007 &lt;
&gt;4 små filmer bergö sommaren 2007 &lt;
&gt;Andreas 40 &lt;
&gt;5 systrar &lt;
&gt;Bergö &lt;
&gt;Några fler historiska</description>
<guid isPermaLink="true">http://www.nyback.com/index.php/articles/news/62</guid>
</item>
            <item>
<title>xsane preview window broken</title>
<link>http://www.nyback.com/index.php/articles/news/61</link>
<pubDate>Sat, 22 Nov 2008 07:46:36 GMT</pubDate>
<content:format rdf:resource="http://www.w3.org/1999/xhtml" />
<content:encoded><![CDATA[ If the preview window is blank or corrupted in xsane:

Start xsane, then open preview window. If its broken, close the main xsane window without closing the preview window first.
Then restart xsane and when you open the preview window it looks fine.
 ]]></content:encoded>
<description>If the preview window is blank or corrupted in xsane:

Start xsane, then open preview window. If its broken, close the main xsane window without closing the preview window first.
Then restart xsane and when you open the preview window it looks fine.
</description>
<guid isPermaLink="true">http://www.nyback.com/index.php/articles/news/61</guid>
</item>
</channel>
</rss>

