<?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>Bob Droog &#187; how to</title>
	<atom:link href="http://www.bobdroog.nl/tag/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bobdroog.nl</link>
	<description>My life in this crazy world.</description>
	<lastBuildDate>Thu, 24 Feb 2011 01:02:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>How to add overlay .png image to video as logo using bash?</title>
		<link>http://www.bobdroog.nl/2009/12/02/how-to-add-overlay-png-image-to-video-as-logo-using-bash/</link>
		<comments>http://www.bobdroog.nl/2009/12/02/how-to-add-overlay-png-image-to-video-as-logo-using-bash/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 13:01:47 +0000</pubDate>
		<dc:creator>Bob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[.mpeg]]></category>
		<category><![CDATA[.mpg]]></category>
		<category><![CDATA[add]]></category>
		<category><![CDATA[add logo to own movie]]></category>
		<category><![CDATA[add logo to own video]]></category>
		<category><![CDATA[add overlay image to movie]]></category>
		<category><![CDATA[add overlay image to video]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[convert movie with logo]]></category>
		<category><![CDATA[convert movie with your logo]]></category>
		<category><![CDATA[convert own movie with logo]]></category>
		<category><![CDATA[convert own video with logo]]></category>
		<category><![CDATA[convert video to movie with logo]]></category>
		<category><![CDATA[convert video with logo]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[flv]]></category>
		<category><![CDATA[how]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[how to add image to video]]></category>
		<category><![CDATA[how to add logo to video using terminal]]></category>
		<category><![CDATA[how to convert movie so it has a logo]]></category>
		<category><![CDATA[how to convert video so it has logo]]></category>
		<category><![CDATA[logo]]></category>
		<category><![CDATA[movie logo]]></category>
		<category><![CDATA[movie with logo]]></category>
		<category><![CDATA[overlay]]></category>
		<category><![CDATA[png]]></category>
		<category><![CDATA[red hat]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[to]]></category>
		<category><![CDATA[use your own logo on a movie]]></category>
		<category><![CDATA[video logo]]></category>
		<category><![CDATA[watermark]]></category>

		<guid isPermaLink="false">http://www.bobdroog.nl/?p=1321</guid>
		<description><![CDATA[Using this command you can create/convert a video with your own chosen logo. Have fun. user@server:$ ffmpeg -i movie.mpg -vhook '/usr/lib/vhook/watermark.so -f overlay.png -m 1 -t 222222' -an mm.flv]]></description>
			<content:encoded><![CDATA[<p>Using this command you can create<strong>/</strong>convert a video with your own chosen logo. Have fun.</p>

<div class="wp-terminal">user@server:$ ffmpeg -i movie.mpg -vhook '/usr/lib/vhook/watermark.so -f overlay.png -m 1 -t 222222' -an mm.flv<br/></div>

]]></content:encoded>
			<wfw:commentRss>http://www.bobdroog.nl/2009/12/02/how-to-add-overlay-png-image-to-video-as-logo-using-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to update your twitter status in linux using bash?</title>
		<link>http://www.bobdroog.nl/2009/12/02/how-to-update-your-twitter-status-in-linux-using-bash/</link>
		<comments>http://www.bobdroog.nl/2009/12/02/how-to-update-your-twitter-status-in-linux-using-bash/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 12:38:49 +0000</pubDate>
		<dc:creator>Bob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[how]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[how to update twitter status with command]]></category>
		<category><![CDATA[how to update twitter using bash]]></category>
		<category><![CDATA[line]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[sshd]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[to]]></category>
		<category><![CDATA[tweet]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[update twitter in linux]]></category>
		<category><![CDATA[update twitter status in linux]]></category>
		<category><![CDATA[username]]></category>

		<guid isPermaLink="false">http://www.bobdroog.nl/?p=1290</guid>
		<description><![CDATA[Updating your twitter status using the bash SHell in Linux is easier then you may think, you can update your status using &#8220;curl&#8220;, curl is a tool to transfer data from or to a server. All you have to do is execute this command showed underneath. This will transfer the status data to the twitter [...]]]></description>
			<content:encoded><![CDATA[<p>Updating your twitter status using the bash SHell in Linux is easier then you may think, you can update your status using &#8220;<strong>curl</strong>&#8220;, curl is a tool to transfer data from or to a server. All you have to do is execute this command showed underneath. This will transfer the status data to the twitter site using the <strong>Twitter API</strong>.</p>

<div class="wp-terminal">user@server:$ curl -u user:pass -d status=”Tweeting from the shell” http://twitter.com/statuses/update.xml<br/></div>

<p>But of course, you don&#8217;t want to be typing all that every time you want to update your twitter status. So I found <a href="http://binnyva.blogspot.com/2007/03/using-twitter-part-1-command-line.html" target="_blank"><strong>this website</strong></a> which has a executable twitter bash script.</p>

<div class="wp-terminal">user@server:$ curl --basic --user "user:password" --data-ascii "status=`echo $@|tr ' ' '+'`" "http://twitter.com/statuses/update.json"<br/></div>

<p>Replace the <strong>user</strong> and <strong>password</strong> with your twitter user id and password. Now save the text to a file called &#8216;<strong>twitter</strong>&#8216; and give the file execute permission. Put this file in any folder in your path. If you want to use this script everywhere on the server make sure it&#8217;s located in <strong>/usr/local/bin or ~/bin</strong>. If you are a user on the server, you may just create the file in your <strong>~/user</strong> folder.</p>
<h3>Now, how to use the script?</h3>
<p>If you have created the twitter file in <strong>/usr/local/bin or ~/bin</strong> you may use this command anywhere you are in the server.</p>

<div class="wp-terminal">user@server:$ twitter Testing and using Twitter CLI.<br/></div>

<p>For best results, enclose the message within quotes. This will prevent problems when using wild card characters like &#8216;?&#8217;</p>

<div class="wp-terminal">user@server:$ twitter "Testing and using Twitter CLI."<br/></div>

<p>And if have created the twitter file in your <strong>~/user</strong> directory, make sure you are in the <strong>same folder</strong> as the file and then you may use this command.</p>

<div class="wp-terminal">user@server:$ ./twitter "Testing and using Twitter CLI."<br/></div>

<h3>Not working?</h3>
<p>Did you make sure the file has executable rights?</p>

<div class="wp-terminal">user@server:$ chmod +x twitter<br/></div>

]]></content:encoded>
			<wfw:commentRss>http://www.bobdroog.nl/2009/12/02/how-to-update-your-twitter-status-in-linux-using-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Schedule Downloads using bash?</title>
		<link>http://www.bobdroog.nl/2009/11/28/how-to-schedule-downloads-using-bash/</link>
		<comments>http://www.bobdroog.nl/2009/11/28/how-to-schedule-downloads-using-bash/#comments</comments>
		<pubDate>Sat, 28 Nov 2009 12:58:53 +0000</pubDate>
		<dc:creator>Bob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[how]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[how to schedule downloads in linux]]></category>
		<category><![CDATA[how to schedule downloads using bash]]></category>
		<category><![CDATA[how to schedule downloads using putty]]></category>
		<category><![CDATA[how to schedule downloads using ssh]]></category>
		<category><![CDATA[how to schedule downloads using terminal]]></category>
		<category><![CDATA[output]]></category>
		<category><![CDATA[red hat]]></category>
		<category><![CDATA[schedule]]></category>
		<category><![CDATA[schedule downloads on server]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[to]]></category>

		<guid isPermaLink="false">http://www.bobdroog.nl/?p=1242</guid>
		<description><![CDATA[This code is incredibly handy; it allows you to schedule the time for a download to happen &#8212; say, at 3PM while you&#8217;re at work or midnight while you&#8217;re sleeping. user@server:$ echo 'wget http://www.website.com/file.tar.gz' &#124; at 03:00 For example: user@server:$ echo 'wget http://www.rarlab.com/rar/winrar-x64-390nl.exe' &#124; at 13:50 Output: job 1 at 2009-11-28 13:50]]></description>
			<content:encoded><![CDATA[<p>This code is incredibly handy; it allows you to schedule the time for a download to happen &#8212; say, at 3PM while you&#8217;re at work or midnight while you&#8217;re sleeping.</p>

<div class="wp-terminal">user@server:$ echo 'wget http://www.website.com/file.tar.gz' | at 03:00<br/></div>

<h6></h6>
<h3>For example:</h3>

<div class="wp-terminal">user@server:$ echo 'wget http://www.rarlab.com/rar/winrar-x64-390nl.exe' | at 13:50<br/></div>

<h3>Output:</h3>
<div class="codesnip-container" >
<div class="perl codesnip" style="font-family:monospace;">job <span class="nu0">1</span> at <span class="nu0">2009</span><span class="sy0">-</span><span class="nu0">11</span><span class="sy0">-</span><span class="nu0">28</span> <span class="nu0">13</span><span class="sy0">:</span><span class="nu0">50</span></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.bobdroog.nl/2009/11/28/how-to-schedule-downloads-using-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to find and list all large files on server using bash?</title>
		<link>http://www.bobdroog.nl/2009/11/28/how-to-find-and-list-all-large-files-on-server-using-bash/</link>
		<comments>http://www.bobdroog.nl/2009/11/28/how-to-find-and-list-all-large-files-on-server-using-bash/#comments</comments>
		<pubDate>Sat, 28 Nov 2009 12:38:31 +0000</pubDate>
		<dc:creator>Bob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[find large files in linux]]></category>
		<category><![CDATA[find large files on server]]></category>
		<category><![CDATA[how]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[how to find large files on server using bash]]></category>
		<category><![CDATA[how to find large files on server using ssh]]></category>
		<category><![CDATA[how to find large files on server using terminal]]></category>
		<category><![CDATA[how to list files larger then]]></category>
		<category><![CDATA[how to list files on server]]></category>
		<category><![CDATA[how to list large files on server using bash]]></category>
		<category><![CDATA[how to list large files on server using ssh]]></category>
		<category><![CDATA[how to list large files on server using terminal]]></category>
		<category><![CDATA[red hat]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[to]]></category>

		<guid isPermaLink="false">http://www.bobdroog.nl/?p=1229</guid>
		<description><![CDATA[Looking for large files on your server or linux computer? Find them simply using one of the following commands. This example search for anything above 50MB. root@server:$ find / -type f -size +50M This example search for anything above 100MB. root@server:$ find / -type f -size +100M This example search for anything above 1000MB. root@server:$ [...]]]></description>
			<content:encoded><![CDATA[<p>Looking for large files on your server or linux computer? Find them simply using one of the following commands.</p>
<h3>This example search for anything above 50MB.</h3>

<div class="wp-terminal">root@server:$ find / -type f -size +50M<br/></div>

<h3>This example search for anything above 100MB.</h3>

<div class="wp-terminal">root@server:$ find / -type f -size +100M<br/></div>

<h3>This example search for anything above 1000MB.</h3>

<div class="wp-terminal">root@server:$ find / -type f -size +1000M<br/></div>

<p>Modify your search changing the digit between the &#8220;+&#8221; and &#8220;M&#8221;.. Make sense right?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bobdroog.nl/2009/11/28/how-to-find-and-list-all-large-files-on-server-using-bash/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Install SABnzbd on Unix</title>
		<link>http://www.bobdroog.nl/2009/11/20/install-sabnzbd-on-unix/</link>
		<comments>http://www.bobdroog.nl/2009/11/20/install-sabnzbd-on-unix/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 12:24:21 +0000</pubDate>
		<dc:creator>Bob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[5+]]></category>
		<category><![CDATA[5.2]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[compiler]]></category>
		<category><![CDATA[downloading on server]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[how]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[how to download from the news groups]]></category>
		<category><![CDATA[how to install sabnzbd in linux]]></category>
		<category><![CDATA[how to install sabnzbd on linux]]></category>
		<category><![CDATA[how to install sabnzbd on server]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[make]]></category>
		<category><![CDATA[nzb]]></category>
		<category><![CDATA[par2cmdline]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[red hat]]></category>
		<category><![CDATA[SABnzbd]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[server download]]></category>
		<category><![CDATA[to]]></category>
		<category><![CDATA[unrar]]></category>
		<category><![CDATA[yenc]]></category>

		<guid isPermaLink="false">http://www.bobdroog.nl/?p=1187</guid>
		<description><![CDATA[Alas, the CentOS 5.2 repositories do not have all required modules, so you need to so some work yourself. It does come with Python 2.4, which is OK for SABnzbd. Some extra packages are available if you allow access to the unofficial Dag Wieers repository: user@server:$ rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm Required compiler stuff: user@server:$ yum install [...]]]></description>
			<content:encoded><![CDATA[<p>Alas, the CentOS 5.2 repositories do not have all required modules, so you need to so some work yourself. It does come with Python 2.4, which is OK for SABnzbd. Some extra packages are available if you allow access to the unofficial <a href="http://dag.wieers.com/rpm/" target="_blank"><strong>Dag Wieers repository</strong></a>:</p>

<div class="wp-terminal">user@server:$ rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm<br/><br/></div>

<h6></h6>
<h3>Required compiler stuff:</h3>

<div class="wp-terminal">user@server:$ yum install gcc gcc-c++ python-devel<br/></div>

<h6></h6>
<h3>PyOpenSSL</h3>

<div class="wp-terminal">user@server:$ yum install pyOpenSSL<br/></div>

<h6></h6>
<h3>Cheetah</h3>

<div class="wp-terminal">user@server:$ yum install python-cheetah<br/></div>

<p><strong>OR</strong></p>

<div class="wp-terminal">user@server:$ wget http://mesh.dl.sourceforge.net/sourceforge/cheetahtemplate/Cheetah-2.0.1.tar.gz<br/>gzip zxf Cheetah-2.0.1.tar.gz<br/>cd Cheetah-2.0.1<br/>python setup.py install   # Need to do this as admin<br/>cd ..<br/><br/></div>

<h6></h6>
<h3>YEnc</h3>

<div class="wp-terminal">user@server:$ wget http://sabnzbd.sourceforge.net/yenc-0.3.tar.gz<br/>tar zxf yenc-0.3.tar.gz<br/>cd yenc-0.3<br/>python setup.py install   # Need to do this as admin<br/>cd ..<br/><br/></div>

<h6></h6>
<h3>par2cmdline</h3>

<div class="wp-terminal">user@server:$ wget http://garr.dl.sourceforge.net/sourceforge/parchive/par2cmdline-0.4.tar.gz<br/>wget http://sage.math.washington.edu/home/binegar/src/par2cmdline-0.4-gcc4.patch<br/>tar zxf par2cmdline-0.4.tar.gz<br/>cd par2cmdline-0.4<br/>patch < ../par2cmdline-0.4-gcc4.patch reedsolomon.cpp<br/>./configure<br/>make<br/>make check<br/>make install   # Need to do this as admin<br/>cd ..<br/><br/></div>

<h6></h6>
<h3>unrar</h3>
</pre>

<div class="wp-terminal">user@server:$ yum install unrar<br/></div>

<p><strong>OR</strong></p>

<div class="wp-terminal">user@server:$ wget http://www.rarlab.com/rar/unrar-3.7.7-centos.gz<br/>gzip -d unrar-3.7.7-centos.gz<br/>chmod +x unrar-3.7.7-centos<br/>cp unrar-3.7.7-centos /usr/bin/unrar    # Need to do this as admin<br/><br/></div>

<h6></h6>
<h3>Feedparser</h3>

<div class="wp-terminal">user@server:$ wget http://feedparser.googlecode.com/files/feedparser-4.1.zip<br/>mkdir feedparser-4.1<br/>cd feedparser-4.1<br/>unzip ../feedparser-4.1.zip<br/>python setup.py install    # Need to do this as admin<br/>cd ..<br/><br/></div>

<h6></h6>
<h3>SABnzbd itself</h3>

<div class="wp-terminal">user@server:$ wget http://switch.dl.sourceforge.net/sourceforge/sabnzbdplus/SABnzbd-0.4.6-src.tar.gz<br/>tar zxf SABnzbd-0.4.6-src.tar.gz<br/>cd SABnzbd-0.4.6<br/># pre-compile optimized<br/>python -OO SABnzbd.py -v<br/>cd ..<br/><br/></div>

<h6></h6>
<h3>Start SABnzbd</h3>

<div class="wp-terminal">user@server:$ ./SABnzbd.py -s 0.0.0.0:8080<br/></div>

<h6></h6>
<p>Article Source: <strong><a href="http://sabnzbd.wikidot.com/install-centos5">CentOS 5.2 (will work for RedHat 5 too)</a></strong><br />
<a href="http://sabnzbd.wikidot.com/install-ubuntuserver804" target="_blank"><strong>Ubuntu Server 8.04</strong></a><br />
<a href="http://sabnzbd.wikidot.com/install-cc42" target="_blank"><strong>ClarkConnect 4.2 Community Edition</strong></a><br />
For more information: <strong><a href="http://sabnzbd.wikidot.com/install-unix" target="blank">look here.</a></strong></p>
<h5></h5>
]]></content:encoded>
			<wfw:commentRss>http://www.bobdroog.nl/2009/11/20/install-sabnzbd-on-unix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert .mkv to .avi and merge subtitles using bash.</title>
		<link>http://www.bobdroog.nl/2009/11/13/convert-mkv-to-avi-and-merge-subtitles-using-bash/</link>
		<comments>http://www.bobdroog.nl/2009/11/13/convert-mkv-to-avi-and-merge-subtitles-using-bash/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 16:54:59 +0000</pubDate>
		<dc:creator>Bob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[.mkv]]></category>
		<category><![CDATA[.srt]]></category>
		<category><![CDATA[AVI]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[convert .mkv to .avi]]></category>
		<category><![CDATA[converting movie]]></category>
		<category><![CDATA[converting video]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[how]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[how to convert .mkv to .avi with subtitles]]></category>
		<category><![CDATA[how to merge .srt file in .avi]]></category>
		<category><![CDATA[how to merge subtitles]]></category>
		<category><![CDATA[how to merge subtitles in .avi]]></category>
		<category><![CDATA[mencoder]]></category>
		<category><![CDATA[subtitles]]></category>
		<category><![CDATA[to]]></category>
		<category><![CDATA[using subtitles]]></category>

		<guid isPermaLink="false">http://www.bobdroog.nl/?p=1094</guid>
		<description><![CDATA[Converting a .mkv file to .avi is easy using this command. It should also merge the standard subtitles. The only problem is that the .avi is still large. user@server:$ mencoder "video.mkv" -ovc lavc -lavcopts vcodec=mpeg4:threads=8:vbitrate=3000 -oac copy -o video.avi]]></description>
			<content:encoded><![CDATA[<p>Converting a .mkv file to .avi is easy using this command. It should also merge the standard subtitles. The only problem is that the .avi is still large.</p>

<div class="wp-terminal">user@server:$ mencoder "video.mkv" -ovc lavc -lavcopts vcodec=mpeg4:threads=8:vbitrate=3000 -oac copy -o video.avi<br/></div>

]]></content:encoded>
			<wfw:commentRss>http://www.bobdroog.nl/2009/11/13/convert-mkv-to-avi-and-merge-subtitles-using-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create a sample of a video using bash?</title>
		<link>http://www.bobdroog.nl/2009/11/12/how-to-create-a-sample-of-a-video-using-bash/</link>
		<comments>http://www.bobdroog.nl/2009/11/12/how-to-create-a-sample-of-a-video-using-bash/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 15:41:48 +0000</pubDate>
		<dc:creator>Bob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[.mp3]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[converting]]></category>
		<category><![CDATA[create]]></category>
		<category><![CDATA[create movie sample using linux]]></category>
		<category><![CDATA[creating movie sample]]></category>
		<category><![CDATA[creating movie sample using bash]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[how]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[how to create sample of movie]]></category>
		<category><![CDATA[how to create sample of video]]></category>
		<category><![CDATA[lame]]></category>
		<category><![CDATA[mencoder]]></category>
		<category><![CDATA[movie sample]]></category>
		<category><![CDATA[package]]></category>
		<category><![CDATA[preview]]></category>
		<category><![CDATA[red hat]]></category>
		<category><![CDATA[sample]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[sshd]]></category>
		<category><![CDATA[to]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[video sample]]></category>

		<guid isPermaLink="false">http://www.bobdroog.nl/?p=1045</guid>
		<description><![CDATA[With this code you can simply create a preview/sample of your video. Starts at 5.00 and ends on 8.00. Package needed: Mencoder user@server:$ mencoder movie.mkv -o movie.avi -ovc lavc -oac mp3lame -ss 5:00 -endpos 8:00]]></description>
			<content:encoded><![CDATA[<p>With this code you can simply create a preview/sample of your video. Starts at 5.00 and ends on 8.00.</p>
<p>Package needed: <em>Mencoder</em></p>

<div class="wp-terminal">user@server:$ mencoder movie.mkv -o movie.avi -ovc lavc -oac mp3lame -ss 5:00 -endpos 8:00<br/></div>

]]></content:encoded>
			<wfw:commentRss>http://www.bobdroog.nl/2009/11/12/how-to-create-a-sample-of-a-video-using-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easy full server backup using tar in bash.</title>
		<link>http://www.bobdroog.nl/2009/11/11/easy-full-server-backup-using-tar-in-bash/</link>
		<comments>http://www.bobdroog.nl/2009/11/11/easy-full-server-backup-using-tar-in-bash/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 13:46:58 +0000</pubDate>
		<dc:creator>Bob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[create]]></category>
		<category><![CDATA[creating backup]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[easy]]></category>
		<category><![CDATA[exclude]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[full]]></category>
		<category><![CDATA[how]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[how to create backup from linux system]]></category>
		<category><![CDATA[how to create backup from server]]></category>
		<category><![CDATA[how to create backup using linux]]></category>
		<category><![CDATA[how to create backup using tar]]></category>
		<category><![CDATA[important]]></category>
		<category><![CDATA[red hat]]></category>
		<category><![CDATA[tar]]></category>
		<category><![CDATA[to]]></category>

		<guid isPermaLink="false">http://www.bobdroog.nl/?p=1014</guid>
		<description><![CDATA[If you decide to use &#8220;tar&#8221; as your backup solution, you should probably take the time to get to know the various command-line options that are available; type &#8220;man tar&#8221; for a comprehensive list. The following code will create a full backup of your entire server. Excluding, /media, /proc and /var/spool/squid you might want to [...]]]></description>
			<content:encoded><![CDATA[<p>If you decide to use &#8220;tar&#8221; as your backup solution, you should probably take the time to get to know the various command-line options that are available; type &#8220;<strong>man tar</strong>&#8221; for a comprehensive list.</p>
<p>The following code will create a full backup of your entire server. Excluding, <strong>/media</strong>, <strong>/proc</strong> and <strong>/var/spool/squid</strong> you might want to add or delete some excludes. Like <strong>/mnt</strong>, most servers mount devices in that folder. You need to exclude these as well. Also, You need to make sure you are creating your backup in a excluded folder/area. I make my backups in a mounted 30GB HD Device located in <strong>/media</strong> which is excluded.</p>

<div class="wp-terminal">user@server:$ tar -cvpzf ServerBackup-`date '+%d-%B-%Y'`.tar.bz2 / --exclude=media --exclude=proc --exclude=var/spool/squid<br/></div>

<p>If you only want to make a Backup from your <strong>/home</strong> and <strong>/root</strong> directory (which are probably the most important) just use this command:</p>

<div class="wp-terminal">user@server:$ tar -cvpzf ServerBackup-`date '+%d-%B-%Y'`.tar.bz2 /root /home<br/></div>

<p>Hope it works for you like it did for me, if you have any questions regarding to this post, please leave a comment so others can read it too.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bobdroog.nl/2009/11/11/easy-full-server-backup-using-tar-in-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create DVD from .AVI using bash.</title>
		<link>http://www.bobdroog.nl/2009/10/09/create-dvd-from-avi-using-bash/</link>
		<comments>http://www.bobdroog.nl/2009/10/09/create-dvd-from-avi-using-bash/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 14:16:14 +0000</pubDate>
		<dc:creator>Bob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[AVI]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[commend]]></category>
		<category><![CDATA[create]]></category>
		<category><![CDATA[create dvd]]></category>
		<category><![CDATA[create dvd from avi]]></category>
		<category><![CDATA[creating]]></category>
		<category><![CDATA[dag]]></category>
		<category><![CDATA[DVD]]></category>
		<category><![CDATA[dvd to avi]]></category>
		<category><![CDATA[dvd to avi using bash]]></category>
		<category><![CDATA[dvd to avi using command line]]></category>
		<category><![CDATA[dvd to avi using linux]]></category>
		<category><![CDATA[dvd to avi using ssh]]></category>
		<category><![CDATA[dvd to avi using terminal]]></category>
		<category><![CDATA[dvdauthor]]></category>
		<category><![CDATA[encoder]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[how]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[how to create a dvd from .avi]]></category>
		<category><![CDATA[line]]></category>
		<category><![CDATA[mencoder]]></category>
		<category><![CDATA[mkisofs]]></category>
		<category><![CDATA[red hat]]></category>
		<category><![CDATA[repo]]></category>
		<category><![CDATA[steps]]></category>
		<category><![CDATA[to]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.bobdroog.nl/?p=901</guid>
		<description><![CDATA[Step 1. We need the following tools installed : mencoder: (MPlayer’s Movie Encoder) is a simple movie encoder. ffmpeg: FFmpeg video converter. dvdauthor: assembles multiple mpeg program streams into a suitable DVD file system. If you already have them installed just ignore the following step. Step 2. We can easily install the three packages using [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Step 1.</strong> We need the following tools installed :<br />
<em>mencoder</em>: (MPlayer’s Movie Encoder) is a simple movie encoder.<br />
<em>ffmpeg</em>: FFmpeg video converter.<br />
<em>dvdauthor</em>: assembles multiple mpeg program streams into a suitable DVD file system.</p>
<p>If you already have them installed just ignore the following step. </p>
<p><strong>Step 2.</strong> We can easily install the three packages using DAG Repo. We need to activate it though.</p>
<p>Edit /etc/yum.repos.d</p>

<div class="wp-terminal">user@server:$ nano -w /etc/yum.repos.d/dag.repo<br/></div>

<p>And insert</p>
<div class="codesnip-container" >
<div class="xml codesnip" style="font-family:monospace;">[dag]<br />
name=Dag RPM Repository for Red Hat Enterprise Linux<br />
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag<br />
gpgcheck=1<br />
enabled=1</div>
</div>
<p>When /etc/yum.repos.d is updated. Simply install the packages using yum.</p>

<div class="wp-terminal">user@server:$ yum install mencoder ffmpeg dvdauthor ffmpeg-devel<br/></div>

<p>If you have any lib problems please read <strong><a href="http://www.tuxmachines.org/node/17063" target="_blank">here more about it.</a></strong></p>
<p><strong>Step 3.</strong> If you are a pro command line user, type the following commands to convert file1.avi fille2.avi to DVD format (if you have only one .avi file, then just skip following command):</p>

<div class="wp-terminal">user@server:$ cat file1.avi file2.avi > ccmovie.avi<br/></div>

<p><strong>Step 4.</strong> Now run the movie encoder to create out.avi from yourname.avi (option -ovc and -oac sets no encoding, just stream copy.)</p>

<div class="wp-terminal">user@server:$ mencoder -o out.avi -noidx -oac copy -ovc copy yourname.avi<br/></div>

<p><strong>Step 5.</strong> Next run FFmpeg Video Converter to set aspect ratio, ntsc/pal dvd television standard etc:</p>
<p>For USA</p>

<div class="wp-terminal">user@server:$ ffmpeg -i out.avi -y -target ntsc-dvd -sameq -aspect 16:9 out.mpg<br/></div>

<p>For Europe</p>

<div class="wp-terminal">user@server:$ ffmpeg -i out.avi -y -target pal-dvd -sameq -aspect 4:3 out.mpg<br/></div>

<p><strong>Step 6.</strong> At a high level, a DVD is a collection of menus and titles. Conceptually, a menu contains buttons which can be assigned actions and provides a list of choices to the end user, while a title contains the main content of the DVD. However, in reality many of the features available in menus (including buttons, pausing, and looping) are also available in titles. Use dvdauthor assembles multiple mpeg program streams into a suitable DVD file system. You should see DVD file system in DVD directory:</p>

<div class="wp-terminal">user@server:$ dvdauthor --title -o dvd -f out.mpg<br/></div>

<p><strong>Step 7.</strong> Create the table of contents file instead of a titleset:</p>

<div class="wp-terminal">user@server:$ dvdauthor -o dvd -T<br/></div>

<p><strong>Step 8. </strong>Now your all set, the DVD is done. But what you see is that the DVD files are all loose in the folder. So what we want to do is make a .ISO (Image) of the dvd. So it&#8217;s ready to burn. What we need for that is the RPM mkisofs. We can easily install that, because we have activated the DAG Repo. So install the mkisofs package using yum.</p>

<div class="wp-terminal">user@server:$ yum install mkisofs<br/></div>

<p><strong>Step 9.</strong> Now you have installed mkisofs, we can create .ISO files using this command.</p>

<div class="wp-terminal">user@server:$ mkisofs -dvd-video -o name-your-dvd.iso dvd/<br/></div>

<p><strong>Step 10.</strong> Now your DVD is done. I hope this tutorial has helped you and may help others. We finish with burning the DVD onto an empty DVD.</p>

<div class="wp-terminal">user@server:$ growisofs -dvd-compat -dvd-video -speed=4 -Z /dev/dvd dvd/*<br/></div>

<p>If you have any questions or thoughts to share please leave it here in a comment. Thank you!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bobdroog.nl/2009/10/09/create-dvd-from-avi-using-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert .flac to .mp3 using bash.</title>
		<link>http://www.bobdroog.nl/2009/06/12/flac-to-mp3/</link>
		<comments>http://www.bobdroog.nl/2009/06/12/flac-to-mp3/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 09:23:35 +0000</pubDate>
		<dc:creator>Bob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[.flac]]></category>
		<category><![CDATA[.mp3]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[converter]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[how]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[how to convert .flac to mp3 using bash]]></category>
		<category><![CDATA[how to convert .flac to mp3 using command]]></category>
		<category><![CDATA[how to convert .flac to mp3 using linux]]></category>
		<category><![CDATA[how to convert .flac to mp3 using server]]></category>
		<category><![CDATA[how to convert .flac to mp3 using ssh]]></category>
		<category><![CDATA[linux converting flac to mp3]]></category>
		<category><![CDATA[red hat]]></category>
		<category><![CDATA[to]]></category>

		<guid isPermaLink="false">http://www.bobdroog.nl/?p=589</guid>
		<description><![CDATA[How to convert .flac files to .mp3? Well here you find out how to do using Bash ~ Linux! 1. First, make sure you have installed the package &#8220;Lame&#8221; (Should be easy to find @ google.com for any Linux OS) 2. Download THIS bash script and move it to the folder where the .flac files [...]]]></description>
			<content:encoded><![CDATA[<p>How to convert .flac files to .mp3? Well here you find out how to do using Bash ~ Linux!</p>
<p><strong>1. </strong>First, make sure you have installed the package &#8220;<strong>Lame</strong>&#8221; (Should be easy to find @ google.com for any Linux OS)<br />

<a href="http://www.bobdroog.nl/wp-content/gallery/flac-2-mp3/lameinstalled.png" title="" class="thickbox" rel="singlepic57" >
	<img class="ngg-singlepic" src="http://www.bobdroog.nl/wp-content/gallery/cache/57__320x240_lameinstalled.png" alt="lame installed" title="lame installed" />
</a>
</p>
<p><strong>2.</strong> Download <strong><a href="http://www.BobDroog.nl/scripts/flac2mp3.sh">THIS</a></strong> bash script and move it to the folder where the .flac files are stored.</p>
<p><strong>3.</strong> Give &#8220;<strong>flac2mp3.sh</strong>&#8221; 755 rights. (chmod 755 flac2mp3.sh)</p>
<p><strong>4.</strong> OK &#8212; we are in the folder where the .flac files are stored.. We have copied or moved the bash script we need to the same folder.. So now we can start converting. (See picture)<br />

<a href="http://www.bobdroog.nl/wp-content/gallery/flac-2-mp3/flac.png" title="" class="thickbox" rel="singlepic62" >
	<img class="ngg-singlepic" src="http://www.bobdroog.nl/wp-content/gallery/cache/62__320x240_flac.png" alt="flac" title="flac" />
</a>
<strong><br />
</strong></p>
<p><strong>5.</strong> Start the script to convert your .flac files to .mp3  (./flac2mp3.sh)<br />

<a href="http://www.bobdroog.nl/wp-content/gallery/flac-2-mp3/flac-converting.png" title="" class="thickbox" rel="singlepic60" >
	<img class="ngg-singlepic" src="http://www.bobdroog.nl/wp-content/gallery/cache/60__320x240_flac-converting.png" alt="flac-converting" title="flac-converting" />
</a>
</p>
<p><strong>6.</strong> You can see the .flac files getting converted to .mp3 &#8212; All .flac files will be converted in that folder.<br />

<a href="http://www.bobdroog.nl/wp-content/gallery/flac-2-mp3/flac-converting2.png" title="" class="thickbox" rel="singlepic61" >
	<img class="ngg-singlepic" src="http://www.bobdroog.nl/wp-content/gallery/cache/61__320x240_flac-converting2.png" alt="flac-converting2" title="flac-converting2" />
</a>
</p>
<p><strong>7.</strong> When converting is done, you&#8217;ll see that the .flac files are still there. I recommend you to check if the .mp3 files work and then remove all the .flac files. (rm -f *.flac)<br />

<a href="http://www.bobdroog.nl/wp-content/gallery/flac-2-mp3/removeflac.png" title="" class="thickbox" rel="singlepic63" >
	<img class="ngg-singlepic" src="http://www.bobdroog.nl/wp-content/gallery/cache/63__320x240_removeflac.png" alt="removeflac" title="removeflac" />
</a>
</p>
<p><strong>8. </strong>Done. All your .flac files are just converted to .mp3<strong><br />
</strong>
<a href="http://www.bobdroog.nl/wp-content/gallery/flac-2-mp3/done-converting.png" title="" class="thickbox" rel="singlepic58" >
	<img class="ngg-singlepic" src="http://www.bobdroog.nl/wp-content/gallery/cache/58__320x240_done-converting.png" alt="done-converting" title="done-converting" />
</a>
</p>
<p><strong>Have fun &amp; Please leave your thoughts in a comment!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bobdroog.nl/2009/06/12/flac-to-mp3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Convert .m4b to .mp3 using bash.</title>
		<link>http://www.bobdroog.nl/2009/06/04/m4b-to-mp3/</link>
		<comments>http://www.bobdroog.nl/2009/06/04/m4b-to-mp3/#comments</comments>
		<pubDate>Thu, 04 Jun 2009 19:19:08 +0000</pubDate>
		<dc:creator>Bob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[.m4b]]></category>
		<category><![CDATA[.mp3]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[convert mp4 to mp3]]></category>
		<category><![CDATA[converter]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[how]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[how to convert .m4b to .mp3]]></category>
		<category><![CDATA[how to convert .m4b to .mp3 using bash]]></category>
		<category><![CDATA[how to convert .m4b to .mp3 using ssh]]></category>
		<category><![CDATA[how to convert .m4b to .mp3 using Terminal]]></category>
		<category><![CDATA[how to convert m4b to .p3 using command line]]></category>
		<category><![CDATA[how to convert m4b to mp3 in linux]]></category>
		<category><![CDATA[how to convert m4b to mp3 using command]]></category>
		<category><![CDATA[how to convert m4b to mp3 with command]]></category>
		<category><![CDATA[red hat]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[to]]></category>

		<guid isPermaLink="false">http://www.bobdroog.nl/?p=555</guid>
		<description><![CDATA[A couple days ago my dad downloaded some audio books and they were all .m4b .. So he was like: what is this? We have tried to find some converters but they were not really working very well. After trying a couple windows programs I finally found a freeware one for windows &#8212; click HERE! [...]]]></description>
			<content:encoded><![CDATA[<p>A couple days ago my dad downloaded some audio books and they were all .m4b .. So he was like: what is this? We have tried to find some converters but they were not really working very well. After trying a couple windows programs I finally found a freeware one for windows &#8212; click <a class="thickbox" href="http://www.maniactools.com/soft/m4a-to-mp3-converter/audio-books-m4b-to-mp3-converter.shtml?KeepThis=true&amp;TB_iframe=true&amp;height=500&amp;width=700"><strong>HERE!</strong></a> </p>
<p>This one worked pretty good. But I was not satisfied yet, I searched the web for a .m4b to .mp3 converter in SSH/Terminal and I found one. Here some steps.</p>
<p>1. First you need to download and install the &#8220;<strong>Faad</strong>&#8221; package and the &#8220;<strong>Lame</strong>&#8221; package on your server. (Easy to find @ google.com)</p>
<p>2. Make sure you have &#8220;<strong>python</strong>&#8221; on your server. (if not &#8212; yum install python)</p>
<p>3. Now, download the plugin to your server &#8212; <strong>wget http://dl.getdropbox.com/u/22008/scripts/m4b2mp3.py</strong></p>
<p>4. Start the script and it will convert your .m4b files to .mp3.</p>
<p><em><strong>How to use the script?</strong></em><br />
<strong>#python m4b2mp3.py</strong><br />
&#8211; Decodes m4b files in current directory and sub directories and consequently encodes the output to mp3.</p>
<p><strong>#python m4b2mp3.py -d /media/audiobook/Bourne\ Supremacy </strong><br />
&#8211; Decodes m4b files in supplied directory and sub directories and encodes the output to mp3.</p>
<p>Need help? Just leave a comment and I&#8217;ll get back to you!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bobdroog.nl/2009/06/04/m4b-to-mp3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

