<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>David Nash &#187; linux</title>
	<atom:link href="http://davidnash.com.au/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://davidnash.com.au</link>
	<description>Wordpress Guru Sydney</description>
	<lastBuildDate>Tue, 28 Feb 2012 06:12:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Delete links across multiple HTML files in bash</title>
		<link>http://davidnash.com.au/2011/12/delete-links-across-multiple-html-files-in-bash/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=delete-links-across-multiple-html-files-in-bash</link>
		<comments>http://davidnash.com.au/2011/12/delete-links-across-multiple-html-files-in-bash/#comments</comments>
		<pubDate>Mon, 05 Dec 2011 05:19:41 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://davidnash.com.au/?p=331</guid>
		<description><![CDATA[Or any type of file, really. I needed to quickly remove links from an old website that was using flat HTML files. In my linux command line, I found I could do: To replace all instances of SEARCH with REPLACE in *.html. Except I needed to do a fair bit of escaping, because HTML is [...]]]></description>
		<wfw:commentRss>http://davidnash.com.au/2011/12/delete-links-across-multiple-html-files-in-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hostmonster 500 Internal Server Error (SHTML Wrapper)</title>
		<link>http://davidnash.com.au/2011/11/hostmonster-500-internal-server-error-shtml-wrapper/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=hostmonster-500-internal-server-error-shtml-wrapper</link>
		<comments>http://davidnash.com.au/2011/11/hostmonster-500-internal-server-error-shtml-wrapper/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 23:40:20 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[hostmonster]]></category>
		<category><![CDATA[permissions]]></category>

		<guid isPermaLink="false">http://davidnash.com.au/?p=246</guid>
		<description><![CDATA[A client using Hostmonster was doing some hair-pulling over what appeared to be a .htaccess problem while installing a Symphony site I developed. We thought it might be related to the fact it was running on a subdomain. The server would give a blank page, and on the HTML source would show something like &#8220;500 [...]]]></description>
		<wfw:commentRss>http://davidnash.com.au/2011/11/hostmonster-500-internal-server-error-shtml-wrapper/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Batch reduce resolution of images in Ubuntu Linux</title>
		<link>http://davidnash.com.au/2009/02/batch-reduce-resolution-of-images-in-ubuntu-linux/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=batch-reduce-resolution-of-images-in-ubuntu-linux</link>
		<comments>http://davidnash.com.au/2009/02/batch-reduce-resolution-of-images-in-ubuntu-linux/#comments</comments>
		<pubDate>Sun, 22 Feb 2009 03:56:27 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[batch]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[reduce]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://davidnash.com.au/?p=137</guid>
		<description><![CDATA[Open a terminal window or shell (who needs a GUI!?) sudo apt-get install imagemagick cd image_folder mkdir resized for f in *jpg do convert -resize 30% $f resized/$f done Easier than Photoshop, I reckon! I needed this today for some photos I was uploading. Photos from recent cameras are huge and Australian bandwidth doesn&#8217;t cut [...]]]></description>
		<wfw:commentRss>http://davidnash.com.au/2009/02/batch-reduce-resolution-of-images-in-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fixing Windows File Permissions in Linux</title>
		<link>http://davidnash.com.au/2009/02/fixing-windows-file-permissions-in-linux/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=fixing-windows-file-permissions-in-linux</link>
		<comments>http://davidnash.com.au/2009/02/fixing-windows-file-permissions-in-linux/#comments</comments>
		<pubDate>Fri, 20 Feb 2009 00:22:59 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[permissions]]></category>

		<guid isPermaLink="false">http://davidnash.com.au/?p=125</guid>
		<description><![CDATA[Find all files (not directories) and remove the eXecutable bit. I don&#8217;t know what the characters on the end do: find . -type f -exec chmod a-x {} \; Make all directories executable to user, read/writable to groups others (good for when the web server is in &#8216;others&#8217;): find . -type d -exec chmod 755 [...]]]></description>
		<wfw:commentRss>http://davidnash.com.au/2009/02/fixing-windows-file-permissions-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unix Time in MySQL and bash</title>
		<link>http://davidnash.com.au/2009/02/unix-time-mysql-bash/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=unix-time-mysql-bash</link>
		<comments>http://davidnash.com.au/2009/02/unix-time-mysql-bash/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 08:27:58 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://davidnash.com.au/?p=115</guid>
		<description><![CDATA[A quick one today. I was working on a mysql database that used unix timestamp produced by PHP&#8217;s time() function. I needed to be able to quickly convert this time to a human-readable format. In bash, date -d @timestamp is a quick way to convert. In a terminal shell eg: # date -d @1224992980 Sun [...]]]></description>
		<wfw:commentRss>http://davidnash.com.au/2009/02/unix-time-mysql-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

