<?xml version="1.0"?>
<rss version="2.0">
<channel>
  <title>Markus&#039; Blog - shell tag</title>
  <link>http://www.tower-net.de:80/blog/tags/shell/</link>
  <description>Frenzied programming..., tech..., climbing..., sports..., mountain..., nature... and futile notes</description>
  <language>en</language>
  <copyright>Markus Kolb</copyright>
  <lastBuildDate>Wed, 20 Jul 2011 18:43:00 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  <image>
    <url>http://www.tower-net.de/blog/favicon.ico</url>
    <title>Markus&#039; Blog</title>
    <link>http://www.tower-net.de:80/blog/</link>
  </image>
  
  
  <item>
    <title>Oneliner to handle file system limitations on file move</title>
    <link>http://www.tower-net.de:80/blog/2010/10/31/1288481460000.html</link>
    
      
        <description>
          A simple oneliner to move files to a file size limited file system (e.g. 2Gb)...&lt;br /&gt;
destdir=/destinationdir/../.. ; for f in * ; do s=$(stat -c %s &amp;quot;$f&amp;quot;) ; if [ $s -ge $((2*1000*1000*1000)) ] ; then 7z a -mx=0 -tzip -v2000m &amp;quot;$destdir&amp;quot;/&amp;quot;$f&amp;quot;.zip&amp;nbsp; &amp;quot;$f&amp;quot; ; else mv -v &amp;quot;$f&amp;quot; &amp;quot;$destdir&amp;quot;/&amp;quot;$f&amp;quot; ; fi ; done
        </description>
      
      
    
    
    
    <category>os_unix</category>
    
    <category>programming</category>
    
    <comments>http://www.tower-net.de:80/blog/2010/10/31/1288481460000.html#comments</comments>
    <guid isPermaLink="true">http://www.tower-net.de:80/blog/2010/10/31/1288481460000.html</guid>
    <pubDate>Sat, 30 Oct 2010 23:31:00 GMT</pubDate>
  </item>
  
  </channel>
</rss>

