<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: WordPress Backup Shell Script</title>
	<atom:link href="http://gfmorris.org/archives/2004/04/29/wordpress-backup-shell-script/feed/" rel="self" type="application/rss+xml" />
	<link>http://gfmorris.org/archives/2004/04/29/wordpress-backup-shell-script/</link>
	<description>Smart Guy, Dumb Code</description>
	<lastBuildDate>Sat, 17 Jul 2010 01:05:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: links for 2010-05-17 &#124; Pratyush Kotturu - KE5YQZ</title>
		<link>http://gfmorris.org/archives/2004/04/29/wordpress-backup-shell-script/comment-page-1/#comment-43438</link>
		<dc:creator>links for 2010-05-17 &#124; Pratyush Kotturu - KE5YQZ</dc:creator>
		<pubDate>Mon, 17 May 2010 18:04:01 +0000</pubDate>
		<guid isPermaLink="false">http://gfmorris.org/archives/2004/04/29/wordpress-backup-shell-script/#comment-43438</guid>
		<description>[...] Tutorial 22 hours agobackup wordpress db and files shell script - Bash - Snipplr 22 hours agoWordPress Backup Shell Script &#124; GFMorris.org 22 hours agoA graduate school survival guide: &quot;So long, and thanks for the Ph.D!&quot; [...]</description>
		<content:encoded><![CDATA[<p>[...] Tutorial 22 hours agobackup wordpress db and files shell script &#8211; Bash &#8211; Snipplr 22 hours agoWordPress Backup Shell Script | GFMorris.org 22 hours agoA graduate school survival guide: &quot;So long, and thanks for the Ph.D!&quot; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abhishek</title>
		<link>http://gfmorris.org/archives/2004/04/29/wordpress-backup-shell-script/comment-page-1/#comment-41476</link>
		<dc:creator>Abhishek</dc:creator>
		<pubDate>Mon, 16 Jun 2008 16:19:24 +0000</pubDate>
		<guid isPermaLink="false">http://gfmorris.org/archives/2004/04/29/wordpress-backup-shell-script/#comment-41476</guid>
		<description>Hi , 

  I am new to shell scripting but i am stuck with the following issue , as i want to catch a python script error and if there is an error then echo eyx message: 
the shell script i wrote is 
#!/bin/sh

case &quot;xyz&quot; in 
    get_xml)
    	cd xyz
	 python2.5 hello_xml.pyc;
	 if [[ $? -ne &quot;1&quot; ]]; then
		echo &quot;ERROR&quot;
		exit
	else
		echo &quot;Done&quot;
	fi 
         ;; 

but issue is even the python script hello_xml.pyc throws an error the shell IF statement is not catching it , it always echo &quot;done&quot; only!!! in both case of failure and success. 
Can some one point me to correct direction.</description>
		<content:encoded><![CDATA[<p>Hi , </p>
<p>  I am new to shell scripting but i am stuck with the following issue , as i want to catch a python script error and if there is an error then echo eyx message:<br />
the shell script i wrote is<br />
#!/bin/sh</p>
<p>case &#8220;xyz&#8221; in<br />
    get_xml)<br />
    	cd xyz<br />
	 python2.5 hello_xml.pyc;<br />
	 if [[ $? -ne "1" ]]; then<br />
		echo &#8220;ERROR&#8221;<br />
		exit<br />
	else<br />
		echo &#8220;Done&#8221;<br />
	fi<br />
         ;; </p>
<p>but issue is even the python script hello_xml.pyc throws an error the shell IF statement is not catching it , it always echo &#8220;done&#8221; only!!! in both case of failure and success.<br />
Can some one point me to correct direction.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Message in a bottle&#8230;. : Blog Archive : Script per fer una copia de seguretat diaria del WordPress</title>
		<link>http://gfmorris.org/archives/2004/04/29/wordpress-backup-shell-script/comment-page-1/#comment-21220</link>
		<dc:creator>Message in a bottle&#8230;. : Blog Archive : Script per fer una copia de seguretat diaria del WordPress</dc:creator>
		<pubDate>Sat, 31 Mar 2007 18:31:43 +0000</pubDate>
		<guid isPermaLink="false">http://gfmorris.org/archives/2004/04/29/wordpress-backup-shell-script/#comment-21220</guid>
		<description>[...] gfmorris he trobat aquest script de shell per a fer una copia de seguretat d&#8217;un blog amb WordPress.  [...]</description>
		<content:encoded><![CDATA[<p>[...] gfmorris he trobat aquest script de shell per a fer una copia de seguretat d&#8217;un blog amb WordPress.  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shout Head :: How to setup multi-blogging with wordpress 2.0</title>
		<link>http://gfmorris.org/archives/2004/04/29/wordpress-backup-shell-script/comment-page-1/#comment-3693</link>
		<dc:creator>Shout Head :: How to setup multi-blogging with wordpress 2.0</dc:creator>
		<pubDate>Sun, 18 Jun 2006 22:57:00 +0000</pubDate>
		<guid isPermaLink="false">http://gfmorris.org/archives/2004/04/29/wordpress-backup-shell-script/#comment-3693</guid>
		<description>[...] I use this shell script run as a cron job and save the files the same way. [...]</description>
		<content:encoded><![CDATA[<p>[...] I use this shell script run as a cron job and save the files the same way. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: codefuture.net thought repository</title>
		<link>http://gfmorris.org/archives/2004/04/29/wordpress-backup-shell-script/comment-page-1/#comment-1506</link>
		<dc:creator>codefuture.net thought repository</dc:creator>
		<pubDate>Sat, 11 Mar 2006 15:31:32 +0000</pubDate>
		<guid isPermaLink="false">http://gfmorris.org/archives/2004/04/29/wordpress-backup-shell-script/#comment-1506</guid>
		<description>&lt;strong&gt;Wordpress backup python script&lt;/strong&gt;


#!/usr/bin/env python
#
# Ported by Christian Wilcox from shell script found at:
# http://gfmorris.org/archives/2004/04/29/wordpress-backup-shell-script/
#
# Make sure to set appropriate values to vars dictionary
import os
import time
vars = {
    &amp;#8...</description>
		<content:encoded><![CDATA[<p><strong>WordPress backup python script</strong></p>
<p>#!/usr/bin/env python<br />
#<br />
# Ported by Christian Wilcox from shell script found at:<br />
# <a href="http://gfmorris.org/archives/2004/04/29/wordpress-backup-shell-script/" rel="nofollow">http://gfmorris.org/archives/2004/04/29/wordpress-backup-shell-script/</a><br />
#<br />
# Make sure to set appropriate values to vars dictionary<br />
import os<br />
import time<br />
vars = {<br />
    &amp;#8&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
