<?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>Igor David &#187; bash scripting</title>
	<atom:link href="http://www.igord.net/wordpress/linux/bash-scripting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.igord.net</link>
	<description></description>
	<lastBuildDate>Sun, 12 May 2013 15:28:43 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Bash script for changing file extension</title>
		<link>http://www.igord.net/2012/05/10/bash-script-for-changing-file-extension/</link>
		<comments>http://www.igord.net/2012/05/10/bash-script-for-changing-file-extension/#comments</comments>
		<pubDate>Thu, 10 May 2012 20:08:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[bash scripting]]></category>

		<guid isPermaLink="false">http://www.igord.net/?p=497</guid>
		<description><![CDATA[<p>Bash script for changing extension type on many files inside the directory (for example, if you have many pictures ending in .jpeg and you want to change them to .gif):</p> #!/bin/bash</p> <p>echo &#34;source extension?&#34; read source</p> <p>echo &#34;destination extension?&#34; read target</p> <p>for i in `ls *$source`; do</p> <p>file=`ls $i &#124; sed &#34;s/$source/$target/&#34;`</p> <p>echo &#34;changing source [...]]]></description>
		<wfw:commentRss>http://www.igord.net/2012/05/10/bash-script-for-changing-file-extension/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NERDTree vim plugin</title>
		<link>http://www.igord.net/2011/03/19/nerdtree-vim-plugin/</link>
		<comments>http://www.igord.net/2011/03/19/nerdtree-vim-plugin/#comments</comments>
		<pubDate>Sat, 19 Mar 2011 10:56:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[bash scripting]]></category>

		<guid isPermaLink="false">http://blog.igord.net/?p=408</guid>
		<description><![CDATA[<p>Very useful thing if you want to extend your usage of VIM (which is, by my opinion, best editor in the world )</p> <p>Basically it is acting as plugin to vim, after you run vim just type &#8220;:NERDTree&#8221; and see the magic &#8211; it will open tree with all files and directories from location where [...]]]></description>
		<wfw:commentRss>http://www.igord.net/2011/03/19/nerdtree-vim-plugin/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ALA &#8211; Apache log analyzer</title>
		<link>http://www.igord.net/2011/01/22/ala-apache-log-analyzer/</link>
		<comments>http://www.igord.net/2011/01/22/ala-apache-log-analyzer/#comments</comments>
		<pubDate>Fri, 21 Jan 2011 22:42:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[bash scripting]]></category>

		<guid isPermaLink="false">http://blog.igord.net/?p=401</guid>
		<description><![CDATA[<p>Here is one simple bash script which can be used to quickly sort out which IP`s are most visiting your Apache web server, by analyzing access_log file.</p> <p>You just put chmod +x on it and run as root &#8230; It will ask you for location of Apache log file, and after that you will get [...]]]></description>
		<wfw:commentRss>http://www.igord.net/2011/01/22/ala-apache-log-analyzer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Another FTP backup script</title>
		<link>http://www.igord.net/2010/12/22/another-ftp-backup-script/</link>
		<comments>http://www.igord.net/2010/12/22/another-ftp-backup-script/#comments</comments>
		<pubDate>Wed, 22 Dec 2010 12:27:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[bash scripting]]></category>

		<guid isPermaLink="false">http://blog.igord.net/?p=393</guid>
		<description><![CDATA[<p>The script will compress all files under /var/vmail with tar using &#8220;Z&#8221; flag and send that tar.tgz file to remote FTP server. It will remove previous backup file, and keep only current one at FTP server.</p> #!/bin/bash</p> <p>#define parameters: HOST=&#8216;ftp.hostname.com&#8217; USER=&#8216;username&#8217; PASSWD=&#8216;password&#8217; STARI=`cat /root/scripts/backup/stari` FILE=/root/scripts/backup/`date +%d-%m-%Y`-domain.tgz FILE2=`echo $FILE &#124; awk -F&#34;/&#34; &#8216;{print $5}&#8217;`</p> <p>#tar files: [...]]]></description>
		<wfw:commentRss>http://www.igord.net/2010/12/22/another-ftp-backup-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zimbra backup script</title>
		<link>http://www.igord.net/2010/12/03/zimbra-backup-script/</link>
		<comments>http://www.igord.net/2010/12/03/zimbra-backup-script/#comments</comments>
		<pubDate>Fri, 03 Dec 2010 17:08:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[bash scripting]]></category>

		<guid isPermaLink="false">http://blog.igord.net/?p=386</guid>
		<description><![CDATA[<p>Ovo je jedna bash skripta za backup mailova koji su se prethodno bekapovali kroz Zimbru. Pozdrazumevani setup je takav da postoji backup server, sa &#8220;backup&#8221; userom koji je kreiran tako da sa Zimbra servera možemo da se ulogujemo bez username/passworda (koristeći samo ssh ključeve). Tutorial za ovo (kako podesiti da 2 servera komuniciraju preko ssh [...]]]></description>
		<wfw:commentRss>http://www.igord.net/2010/12/03/zimbra-backup-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux bash scripting part 1</title>
		<link>http://www.igord.net/2010/11/16/linux-bashscripting-part-1/</link>
		<comments>http://www.igord.net/2010/11/16/linux-bashscripting-part-1/#comments</comments>
		<pubDate>Mon, 15 Nov 2010 23:05:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[bash scripting]]></category>

		<guid isPermaLink="false">http://blog.igord.net/?p=372</guid>
		<description><![CDATA[<p>In this script we will show how to create hard links and how to show all files with same i-node which we want.</p> $ touch file -----&#62; this will create empty file "file" $ echo "test" &#62; file -----&#62; this will put "test" into "file" $ ls -li -----&#62; this will list inode number of [...]]]></description>
		<wfw:commentRss>http://www.igord.net/2010/11/16/linux-bashscripting-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
