<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: ensim code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Fri, 25 Jul 2008 03:07:14 GMT</pubDate>
    <description>DZone Snippets: ensim code</description>
    <item>
      <title>Old Ensim backup scripts</title>
      <link>http://snippets.dzone.com/posts/show/727</link>
      <description>backup&lt;br /&gt;&lt;br /&gt;&lt;code&gt;#!/bin/sh&lt;br /&gt;&lt;br /&gt;echo $1&lt;br /&gt;cd /home/virtual/$1/var/www&lt;br /&gt;tar czfv /home/backups/$1.tar.gz cgi-bin html &gt; /dev/null&lt;br /&gt;chmod 777 /home/backups/$1.tar.gz&lt;br /&gt;echo Backed up $1 to /home/backups/$1.tar.gz&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;backup-all&lt;br /&gt;&lt;br /&gt;&lt;code&gt;#!/bin/sh&lt;br /&gt;&lt;br /&gt;rm -f /home/backups/old/*&lt;br /&gt;mv /home/backups/*.gz /home/backups/old/&lt;br /&gt;find -type l -maxdepth 1 -name '*.*' | xargs -n 1 basename | xargs -n 1 ./backup&lt;/code&gt;</description>
      <pubDate>Fri, 16 Sep 2005 20:59:25 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/727</guid>
      <author>peter (Peter Cooperx)</author>
    </item>
    <item>
      <title>Get a list of big files on an Ensim shared hosting server</title>
      <link>http://snippets.dzone.com/posts/show/481</link>
      <description>Go to /home/virtual and run:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;find -type l -maxdepth 1 -name '*.*' | xargs -n 1 basename | xargs -i find /home/virtual/{}/var/www -type f -size +8192k -ls&lt;/code&gt;</description>
      <pubDate>Sun, 17 Jul 2005 11:04:39 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/481</guid>
      <author>peter (Peter Cooperx)</author>
    </item>
    <item>
      <title>Getting rid of domain transfer limitations in all zone files on Ensim</title>
      <link>http://snippets.dzone.com/posts/show/317</link>
      <description>An inelegant use of find and grep, but it works.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;find . | grep -e "zone" | xargs perl -pi -e 's/allow-transfer {.+?}\;//'&lt;/code&gt;</description>
      <pubDate>Tue, 24 May 2005 10:03:38 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/317</guid>
      <author>peter (Peter Cooperx)</author>
    </item>
  </channel>
</rss>
