<?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>WiredRevolution.com &#187; format</title>
	<atom:link href="http://www.wiredrevolution.com/tag/format/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wiredrevolution.com</link>
	<description>A Bit of Linux Wisdom</description>
	<lastBuildDate>Wed, 18 Jan 2012 22:45:50 +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>YouTube Begins Transcoding All Video to WEBM</title>
		<link>http://www.wiredrevolution.com/linux-news/youtube-begins-transcoding-all-video-to-webm?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=youtube-begins-transcoding-all-video-to-webm</link>
		<comments>http://www.wiredrevolution.com/linux-news/youtube-begins-transcoding-all-video-to-webm#comments</comments>
		<pubDate>Wed, 20 Apr 2011 15:28:16 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[linux news]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[codec]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[format]]></category>
		<category><![CDATA[H.264]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[transcoded]]></category>
		<category><![CDATA[uploaded]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[vp8]]></category>
		<category><![CDATA[webm]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=1693</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/linux_news.png" width="100" height="99" alt="" title="linux news" /><br/>According to the YouTube official blog post. All new videos uploaded to YouTube are now transcoded into WebM. To put that in perspective, nearly 6 years of video is uploaded to YouTube every day. So far they have already transcoded videos that make up 99% of views on their site or nearly 30% of all [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/ubuntu/fix-blue-tinted-video-in-ubuntu' rel='bookmark' title='Permanent Link: Fix blue tinted video in Ubuntu'>Fix blue tinted video in Ubuntu</a></li>
<li><a href='http://www.wiredrevolution.com/ubuntu/how-to-fix-unresponsive-flash-player-on-ubuntu' rel='bookmark' title='Permanent Link: How to fix unresponsive Flash player on Ubuntu'>How to fix unresponsive Flash player on Ubuntu</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/linux_news.png" width="100" height="99" alt="" title="linux news" /><br/><p>According to the <a href="http://youtube-global.blogspot.com/2011/04/mmm-mmm-good-youtube-videos-now-served.html">YouTube official blog post</a>. All new videos uploaded to YouTube are now transcoded into WebM. To put that in perspective, nearly 6 years of video is uploaded to YouTube every day. So far they have already transcoded videos that make up 99% of views on their site or nearly 30% of all videos into WebM. </p>
<p>From the offical blog post:<br />
<code>To that end, all new videos uploaded to YouTube are now transcoded into WebM. WebM is an open media file format for video and audio on the web. Its openness allows anyone to improve the format and its integrations, resulting in a better experience for you in the long-term. As we work to transcode more videos into WebM, we hope to reduce the technical incompatibilities that prevent you from accessing video while improving the overall online video landscape. </code></p>
<p>YouTube will continue to support the H.264 codec and Adobe Flash player, but they are committed to developing their own HTML5 video player.</p>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/ubuntu/fix-blue-tinted-video-in-ubuntu' rel='bookmark' title='Permanent Link: Fix blue tinted video in Ubuntu'>Fix blue tinted video in Ubuntu</a></li>
<li><a href='http://www.wiredrevolution.com/ubuntu/how-to-fix-unresponsive-flash-player-on-ubuntu' rel='bookmark' title='Permanent Link: How to fix unresponsive Flash player on Ubuntu'>How to fix unresponsive Flash player on Ubuntu</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/linux-news/youtube-begins-transcoding-all-video-to-webm/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Echo text without a trailing newline</title>
		<link>http://www.wiredrevolution.com/bash-programming/echo-text-without-a-trailing-newline?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=echo-text-without-a-trailing-newline</link>
		<comments>http://www.wiredrevolution.com/bash-programming/echo-text-without-a-trailing-newline#comments</comments>
		<pubDate>Fri, 18 Feb 2011 18:28:20 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[carrage return]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[continuation]]></category>
		<category><![CDATA[echo]]></category>
		<category><![CDATA[escape]]></category>
		<category><![CDATA[format]]></category>
		<category><![CDATA[line break]]></category>
		<category><![CDATA[newline]]></category>
		<category><![CDATA[output]]></category>
		<category><![CDATA[stop]]></category>
		<category><![CDATA[supress]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[trailing]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=1552</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/bash_icon.png" width="80" height="34" alt="" title="bash" /><br/>By default the echo command will include a trailing newline at the end of a string. There are many times when you may want to suppress this newline for example when you want to format text in a certain way.There are a couple easy ways to do this. First you can use the &#8216;-n&#8217; option. [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/bash-programming/customize-the-bash-ps1-command-prompt' rel='bookmark' title='Permanent Link: Customize the BASH PS1 command prompt'>Customize the BASH PS1 command prompt</a></li>
<li><a href='http://www.wiredrevolution.com/bash-programming/command-substitution-in-bash' rel='bookmark' title='Permanent Link: Command substitution in BASH'>Command substitution in BASH</a></li>
<li><a href='http://www.wiredrevolution.com/bash-programming/find-the-exit-status-of-a-previous-command-in-bash' rel='bookmark' title='Permanent Link: Find the exit status of a previous command in Bash'>Find the exit status of a previous command in Bash</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/bash_icon.png" width="80" height="34" alt="" title="bash" /><br/><p>By default the echo command will include a trailing newline at the end of a string. There are many times when you may want to suppress this newline for example when you want to format text in a certain way.There are a couple easy ways to do this.</p>
<p>First you can use the &#8216;-n&#8217; option.<br />
<code>$ echo -n "hello"</code></p>
<p>You can also use the &#8216;-e&#8217; option which enables interpretation of backslash escapes. Followed by a &#8216;\c&#8217; escape character to signal continuation (no automatic line break).<br />
<code>$ echo -e "hello\c"</code></p>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/bash-programming/customize-the-bash-ps1-command-prompt' rel='bookmark' title='Permanent Link: Customize the BASH PS1 command prompt'>Customize the BASH PS1 command prompt</a></li>
<li><a href='http://www.wiredrevolution.com/bash-programming/command-substitution-in-bash' rel='bookmark' title='Permanent Link: Command substitution in BASH'>Command substitution in BASH</a></li>
<li><a href='http://www.wiredrevolution.com/bash-programming/find-the-exit-status-of-a-previous-command-in-bash' rel='bookmark' title='Permanent Link: Find the exit status of a previous command in Bash'>Find the exit status of a previous command in Bash</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/bash-programming/echo-text-without-a-trailing-newline/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Format output with the column utility</title>
		<link>http://www.wiredrevolution.com/commands/format-output-with-the-column-utilit?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=format-output-with-the-column-utilit</link>
		<comments>http://www.wiredrevolution.com/commands/format-output-with-the-column-utilit#comments</comments>
		<pubDate>Sat, 29 Jan 2011 11:19:04 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[commands]]></category>
		<category><![CDATA[/etc/mtab]]></category>
		<category><![CDATA[column]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[delimited]]></category>
		<category><![CDATA[format]]></category>
		<category><![CDATA[helpful]]></category>
		<category><![CDATA[human readable]]></category>
		<category><![CDATA[output]]></category>
		<category><![CDATA[row]]></category>
		<category><![CDATA[tab]]></category>
		<category><![CDATA[table]]></category>
		<category><![CDATA[utility]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=1525</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/commands_icon.png" width="80" height="69" alt="" title="commands" /><br/>The column utility is helpful for taking raw data and formatting it in a way that is easier for humans to comprehend. It can take a single column of data and format it into many equally spaced columns. Alternatively it can format multiple rows of data into tables. In our first example we have a [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/c/format-output-using-printf' rel='bookmark' title='Permanent Link: Format output using printf'>Format output using printf</a></li>
<li><a href='http://www.wiredrevolution.com/system-administration/view-process-environment-details-with-proc' rel='bookmark' title='Permanent Link: View process environment details with proc'>View process environment details with proc</a></li>
<li><a href='http://www.wiredrevolution.com/ubuntu/enable-hdmi-output-on-dell-xps-m1530m1330-with-ubuntu' rel='bookmark' title='Permanent Link: Enable HDMI output on Dell XPS M1530/M1330 with Ubuntu'>Enable HDMI output on Dell XPS M1530/M1330 with Ubuntu</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/commands_icon.png" width="80" height="69" alt="" title="commands" /><br/><p>The column utility is helpful for taking raw data and formatting it in a way that is easier for humans to comprehend. It can take a single column of data and format it into many equally spaced columns. Alternatively it can format multiple rows of data into tables.</p>
<p>In our first example we have a numfile which contains 20 numbers, one on each line, which we output with cat.</p>
<p><code>$ cat numfile</code><code>1<br />
2<br />
3<br />
4<br />
5<br />
6<br />
7<br />
8<br />
9<br />
10<br />
11<br />
12<br />
13<br />
14<br />
15<br />
16<br />
17<br />
18<br />
19<br />
20</code></p>
<p>The output is long and you can quickly see with a larger example that the numbers would scroll off the screen. When we pipe this same output to the column command the output is broken into columns and is evenly distributed across the screen.</p>
<p><code>$ cat numfile | column</code><code>1       3       5       7        9      11      13      15      17      19<br />
2       4       6       8       10      12      14      16      18      20</code></p>
<p>The &#8216;-t&#8217; option determines the number of columns the input contains and creates a table. This is helpful when you have data where the fields have various lengths. A good example to demonstrate this is the white space delimited output from /etc/mtab.</p>
<p><code>$ cat /etc/mtab</code><code>proc /proc proc rw,noexec,nosuid,nodev 0 0<br />
none /sys sysfs rw,noexec,nosuid,nodev 0 0<br />
fusectl /sys/fs/fuse/connections fusectl rw 0 0<br />
none /sys/kernel/debug debugfs rw 0 0<br />
none /sys/kernel/security securityfs rw 0 0<br />
none /dev devtmpfs rw,mode=0755 0 0<br />
none /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0<br />
none /dev/shm tmpfs rw,nosuid,nodev 0 0<br />
none /var/run tmpfs rw,nosuid,mode=0755 0 0<br />
none /var/lock tmpfs rw,noexec,nosuid,nodev 0 0<br />
none /var/lib/ureadahead/debugfs debugfs rw,relatime 0 0<br />
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0</code></p>
<p>With the same output piped to column. the resulting table is much more readable.</p>
<p><code>$ cat /etc/mtab | column -t</code><code>proc              /proc                        proc                   rw,noexec,nosuid,nodev            0  0<br />
none              /sys                         sysfs                  rw,noexec,nosuid,nodev            0  0<br />
fusectl           /sys/fs/fuse/connections     fusectl                rw                                0  0<br />
none              /sys/kernel/debug            debugfs                rw                                0  0<br />
none              /sys/kernel/security         securityfs             rw                                0  0<br />
none              /dev                         devtmpfs               rw,mode=0755                      0  0<br />
none              /dev/pts                     devpts                 rw,noexec,nosuid,gid=5,mode=0620  0  0<br />
none              /dev/shm                     tmpfs                  rw,nosuid,nodev                   0  0<br />
none              /var/run                     tmpfs                  rw,nosuid,mode=0755               0  0<br />
none              /var/lock                    tmpfs                  rw,noexec,nosuid,nodev            0  0<br />
none              /var/lib/ureadahead/debugfs  debugfs                rw,relatime                       0  0<br />
binfmt_misc       /proc/sys/fs/binfmt_misc     binfmt_misc            rw,noexec,nosuid,nodev            0  0</code></p>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/c/format-output-using-printf' rel='bookmark' title='Permanent Link: Format output using printf'>Format output using printf</a></li>
<li><a href='http://www.wiredrevolution.com/system-administration/view-process-environment-details-with-proc' rel='bookmark' title='Permanent Link: View process environment details with proc'>View process environment details with proc</a></li>
<li><a href='http://www.wiredrevolution.com/ubuntu/enable-hdmi-output-on-dell-xps-m1530m1330-with-ubuntu' rel='bookmark' title='Permanent Link: Enable HDMI output on Dell XPS M1530/M1330 with Ubuntu'>Enable HDMI output on Dell XPS M1530/M1330 with Ubuntu</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/commands/format-output-with-the-column-utilit/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Insert a timestamp in your Tomboy notes</title>
		<link>http://www.wiredrevolution.com/guides/insert-a-timestamp-in-your-tomboy-notes?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=insert-a-timestamp-in-your-tomboy-notes</link>
		<comments>http://www.wiredrevolution.com/guides/insert-a-timestamp-in-your-tomboy-notes#comments</comments>
		<pubDate>Wed, 05 Jan 2011 18:35:19 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[guides]]></category>
		<category><![CDATA[add]]></category>
		<category><![CDATA[addin]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[format]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[insert]]></category>
		<category><![CDATA[notes]]></category>
		<category><![CDATA[preferences]]></category>
		<category><![CDATA[stamp]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[timestamp]]></category>
		<category><![CDATA[tomboy]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=1424</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/linux_guide_icon.png" width="100" height="91" alt="" title="guides" /><br/>At can be very handy to automatically add a timestamp to a Tomboy note but the feature is not enabled right out of the box. Fortunately it is very easy to turn on this feature. Open Tomboy Preferences, click on the Add-ins tab, and select the Tools Add-in dropdown list. Select Insert Timestamp and click [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/guides/sync-chrome-with-your-google-account' rel='bookmark' title='Permanent Link: Sync Chrome with your Google Account'>Sync Chrome with your Google Account</a></li>
<li><a href='http://www.wiredrevolution.com/commands/how-to-take-a-screenshot-in-linux-using-import' rel='bookmark' title='Permanent Link: How to take a screenshot in Linux using import'>How to take a screenshot in Linux using import</a></li>
<li><a href='http://www.wiredrevolution.com/system-administration/firefox-keyboard-shortcuts' rel='bookmark' title='Permanent Link: Firefox Keyboard Shortcuts'>Firefox Keyboard Shortcuts</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/linux_guide_icon.png" width="100" height="91" alt="" title="guides" /><br/><p>At can be very handy to automatically add a timestamp to a Tomboy note but the feature is not enabled right out of the box. Fortunately it is very easy to turn on this feature.</p>
<p>Open Tomboy <strong>Preferences</strong>, click on the <strong>Add-ins</strong> tab, and select the <strong>Tools</strong> Add-in dropdown list. Select <strong>Insert Timestamp</strong> and click on the <strong>Enable</strong> button to the right. </p>
<p>You can also change the default timestamp format or create your own by clicking the <strong>Preferences</strong> button.</p>
<p>Now simply press <strong>Ctrl+d</strong> while typing a note and a timestamp will be inserted at the curser.</p>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/guides/sync-chrome-with-your-google-account' rel='bookmark' title='Permanent Link: Sync Chrome with your Google Account'>Sync Chrome with your Google Account</a></li>
<li><a href='http://www.wiredrevolution.com/commands/how-to-take-a-screenshot-in-linux-using-import' rel='bookmark' title='Permanent Link: How to take a screenshot in Linux using import'>How to take a screenshot in Linux using import</a></li>
<li><a href='http://www.wiredrevolution.com/system-administration/firefox-keyboard-shortcuts' rel='bookmark' title='Permanent Link: Firefox Keyboard Shortcuts'>Firefox Keyboard Shortcuts</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/guides/insert-a-timestamp-in-your-tomboy-notes/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get Boxee to correctly identify local media files</title>
		<link>http://www.wiredrevolution.com/guides/how-to-get-boxee-to-correctly-identify-local-media-files?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-get-boxee-to-correctly-identify-local-media-files</link>
		<comments>http://www.wiredrevolution.com/guides/how-to-get-boxee-to-correctly-identify-local-media-files#comments</comments>
		<pubDate>Wed, 29 Dec 2010 16:31:37 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[guides]]></category>
		<category><![CDATA[boxee]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[filename]]></category>
		<category><![CDATA[filenames]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[format]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[id3]]></category>
		<category><![CDATA[identify]]></category>
		<category><![CDATA[imdb.com]]></category>
		<category><![CDATA[local]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[movie]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[name]]></category>
		<category><![CDATA[naming]]></category>
		<category><![CDATA[recognize]]></category>
		<category><![CDATA[rules]]></category>
		<category><![CDATA[scan]]></category>
		<category><![CDATA[tags]]></category>
		<category><![CDATA[tv]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=1391</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/linux_guide_icon.png" width="100" height="91" alt="" title="guides" /><br/>One of the great features of Boxee is that it can scan your local media collection and retrieves artwork and information from IMDb.com. It does this by doing regular expression matching on each file name to determine what movie, album, or TV episode it is. If you have a collection that is not well named [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/guides/build-the-perfect-htpc-with-boxee-and-the-dell-zino-hd' rel='bookmark' title='Permanent Link: Build the perfect HTPC with Boxee and the Dell Zino HD'>Build the perfect HTPC with Boxee and the Dell Zino HD</a></li>
<li><a href='http://www.wiredrevolution.com/ubuntu/install-boxee-on-64-bit-ubuntu-910-karmic' rel='bookmark' title='Permanent Link: Install Boxee on 64-bit Ubuntu 9.10 Karmic'>Install Boxee on 64-bit Ubuntu 9.10 Karmic</a></li>
<li><a href='http://www.wiredrevolution.com/commands/using-tar-to-archive-files' rel='bookmark' title='Permanent Link: Using tar to archive files'>Using tar to archive files</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/linux_guide_icon.png" width="100" height="91" alt="" title="guides" /><br/><p>One of the great features of Boxee is that it can scan your local media collection and retrieves artwork and information from <a href="imdb.com">IMDb.com</a>. It does this by doing regular expression matching on each file name to determine what movie, album, or TV episode it is. If you have a collection that is not well named or organized this might not work correctly for a lot of your media files. Fortunately there is a specific way you can name your movie, music, and TV files to give the Boxee the best chance of to correctly identify your media collection.</p>
<p>Again, Boxee uses IMDb.com to identify and retrieve information about your media files. If you are unsure of a proper title, or having problems with identification, check there first and make sure it matches what they have.</p>
<h2>TV Shows</h2>
<p>TV episode file names are usually consisted of the show&#8217;s name, the season (usually indicated by the letter &#8220;S&#8221;, or just the number), the episode (usually indicated by the letter &#8220;E&#8221;, or just the number), the episode&#8217;s title, and some more info regarding the quality and source of the file.</p>
<p>Boxee currently supports the following types of naming conventions for tv shows.</p>
<p><code>Show.Title.S##E##.info.extension</code><br />
(double digits are required: S#E# will not work.)</p>
<p>Examples:</p>
<p><code>The.Sopranos.S02E01.avi<br />
Entourage.S05E01.avi</code></p>
<p>Please note: Adding the series&#8217; release year in the file will help resolve remakes and TV shows with similar names<br />
(please refer to IMDB.com to find the correct release year of the show)</p>
<h2>Movies</h2>
<p>Boxee currently supports the following naming convention for movies:</p>
<p><code>Title.(Year).extension<br />
Title (Year).extension<br />
Title.[Year].extension<br />
Title [Year].extension</code></p>
<p>It is recommended that you add the movie&#8217;s release year for greater accuracy, especially when dealing with remakes.</p>
<p>Examples:<br />
<code>The.Day.the.Earth.Stood.Still.(1951).avi<br />
The Day the Earth Stood Still (1951).avi<br />
The.Day.the.Earth.Stood.Still.[1951].avi<br />
The Day the Earth Stood Still [1951].avi</code></p>
<p>It is recommended that you add the movie&#8217;s release year for greater accuracy, especially when dealing with remakes.</p>
<p>For multi-part movie both part# and cd# are supported.<br />
<code>Title.(Year).part#.extension</code></p>
<p>Examples:<br />
<code>The.Simpsons.Movie.(2007).part1.avi<br />
The.Simpsons.Movie.(2007).part2.avi</code></p>
<h2>Music</h2>
<p>With music the filename is not as important as the id3 tags.</p>
<p>id3 tags hold all the information such as album name, artist, year, genre and even artwork. Whatever is there, will be presented in Boxee, so be sure to include as much info as possible in your id3 tags.</p>
<h2>Renaming Files</h2>
<p>You can always use a third party application to help you rename the files. Most media players such as iTunes or Windows Media Player, also allow you to edit those tags, but you can also Google for some dedicated ID3 editors.</p>
<h2>Manually Identify a File</h2>
<p>In a few cases the file won&#8217;t be recognized even with these formatting tips. In this case select the media file and click the &#8220;<strong>Wrong Video?</strong>&#8221; button. You can then follow the on screen instructions to search for and the correctly identity the media file.</p>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/guides/build-the-perfect-htpc-with-boxee-and-the-dell-zino-hd' rel='bookmark' title='Permanent Link: Build the perfect HTPC with Boxee and the Dell Zino HD'>Build the perfect HTPC with Boxee and the Dell Zino HD</a></li>
<li><a href='http://www.wiredrevolution.com/ubuntu/install-boxee-on-64-bit-ubuntu-910-karmic' rel='bookmark' title='Permanent Link: Install Boxee on 64-bit Ubuntu 9.10 Karmic'>Install Boxee on 64-bit Ubuntu 9.10 Karmic</a></li>
<li><a href='http://www.wiredrevolution.com/commands/using-tar-to-archive-files' rel='bookmark' title='Permanent Link: Using tar to archive files'>Using tar to archive files</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/guides/how-to-get-boxee-to-correctly-identify-local-media-files/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert PDF file to text with pdftotext</title>
		<link>http://www.wiredrevolution.com/commands/convert-pdf-file-to-text-with-pdftotext?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=convert-pdf-file-to-text-with-pdftotext</link>
		<comments>http://www.wiredrevolution.com/commands/convert-pdf-file-to-text-with-pdftotext#comments</comments>
		<pubDate>Thu, 09 Sep 2010 15:56:14 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[commands]]></category>
		<category><![CDATA[access]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[extract]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[format]]></category>
		<category><![CDATA[PDF]]></category>
		<category><![CDATA[pdftotext]]></category>
		<category><![CDATA[text]]></category>
		<category><![CDATA[txt]]></category>
		<category><![CDATA[xpdf]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=1234</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/commands_icon.png" width="80" height="69" alt="" title="commands" /><br/>In many cases it can be helpful to access text from within a PDF file but accomplishing this can be next to impossible. Luckily in Linux there is a command line program called pdftotext which is included with the xpdf package. This first step is making sure that the xpdf package is installed. In Ubuntu [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/bash-programming/convert-text-files-within-a-directory-from-windows-to-unix-format' rel='bookmark' title='Permanent Link: Convert text files within a directory from Windows to Unix format'>Convert text files within a directory from Windows to Unix format</a></li>
<li><a href='http://www.wiredrevolution.com/bash-programming/echo-text-without-a-trailing-newline' rel='bookmark' title='Permanent Link: Echo text without a trailing newline'>Echo text without a trailing newline</a></li>
<li><a href='http://www.wiredrevolution.com/bash-programming/delete-a-specific-line-from-a-text-file-with-sed' rel='bookmark' title='Permanent Link: Delete a specific line from a text file with sed'>Delete a specific line from a text file with sed</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/commands_icon.png" width="80" height="69" alt="" title="commands" /><br/><p>In many cases it can be helpful to access text from within a PDF file but accomplishing this can be next to impossible. Luckily in Linux there is a command line program called <strong>pdftotext</strong> which is included with the <strong>xpdf</strong> package. </p>
<p>This first step is making sure that the xpdf package is installed. In Ubuntu you can use the following command.<br />
<code>$ sudo apt-get install xpdf</code></p>
<p>Now you can convert a PDF to text with pdftotext. This code will output a file named &#60filename&#62.txt<br />
<code>$ pdftotext &#60filename&#62.pdf</code></p>
<p>You can also attempt to preserve some of the formatting within the PDF such as columns and spacing by using the &#8220;-layout&#8221; option.<br />
<code>$ apdftotext -layout &#60filename&#62.pdf</code></p>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/bash-programming/convert-text-files-within-a-directory-from-windows-to-unix-format' rel='bookmark' title='Permanent Link: Convert text files within a directory from Windows to Unix format'>Convert text files within a directory from Windows to Unix format</a></li>
<li><a href='http://www.wiredrevolution.com/bash-programming/echo-text-without-a-trailing-newline' rel='bookmark' title='Permanent Link: Echo text without a trailing newline'>Echo text without a trailing newline</a></li>
<li><a href='http://www.wiredrevolution.com/bash-programming/delete-a-specific-line-from-a-text-file-with-sed' rel='bookmark' title='Permanent Link: Delete a specific line from a text file with sed'>Delete a specific line from a text file with sed</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/commands/convert-pdf-file-to-text-with-pdftotext/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Customize the BASH PS1 command prompt</title>
		<link>http://www.wiredrevolution.com/bash-programming/customize-the-bash-ps1-command-prompt?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=customize-the-bash-ps1-command-prompt</link>
		<comments>http://www.wiredrevolution.com/bash-programming/customize-the-bash-ps1-command-prompt#comments</comments>
		<pubDate>Sun, 19 Oct 2008 14:45:22 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[BASH]]></category>
		<category><![CDATA[bashrc]]></category>
		<category><![CDATA[codes]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[command prompt]]></category>
		<category><![CDATA[environment variable]]></category>
		<category><![CDATA[format]]></category>
		<category><![CDATA[PS1]]></category>

		<guid isPermaLink="false">http://www.wiredrevolution.com/?p=403</guid>
		<description><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/bash_icon.png" width="80" height="34" alt="" title="bash" /><br/>The PS1 environment controls the appearance of the BASH command line prompt. There are a variety of default prompts but they usually include username, hostname, and working directory. You can easily customize your prompt to display information important to you as well as add color and style formatting. Here we can see the default prompt [...]


Related posts<ol><li><a href='http://www.wiredrevolution.com/bash-programming/command-substitution-in-bash' rel='bookmark' title='Permanent Link: Command substitution in BASH'>Command substitution in BASH</a></li>
<li><a href='http://www.wiredrevolution.com/bash-programming/have-a-bash-script-determine-its-own-location' rel='bookmark' title='Permanent Link: Have a Bash script determine it&#8217;s own location'>Have a Bash script determine it&#8217;s own location</a></li>
<li><a href='http://www.wiredrevolution.com/bash-programming/find-the-pid-of-a-background-child-process-in-bash' rel='bookmark' title='Permanent Link: Find the PID of a background child process in Bash'>Find the PID of a background child process in Bash</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<img src="http://www.wiredrevolution.com/wp-content/uploads/bash_icon.png" width="80" height="34" alt="" title="bash" /><br/><p>The <strong>PS1</strong> environment controls the appearance of the BASH command line prompt. There are a variety of default prompts but they usually include username, hostname, and working directory. You can easily customize your prompt to display information important to you as well as add color and style formatting.</p>
<p>Here we can see the default prompt is &#8220;username@hostname working_directory $&#8221;. </p>
<pre>
ryan@workstation ~ $
</pre>
<p>You can echo the PS1 environment variable and see the character codes which are used to create the output.</p>
<pre>
ryan@workstation ~ $ echo $PS1
</pre>
<pre>
\u@\h \w \$
</pre>
<p>Here is a list of all the special character codes you can use to build your PS1 command prompt.</p>
<h3>Special Character Codes</h3>
<p><strong>\a</strong> &#8211; an ASCII bell character (07)<br />
<strong>\d</strong> &#8211; the date in &#8220;Weekday Month Date&#8221; format (e.g., &#8220;Tue May 26&#8243;)<br />
<strong>\D{format}</strong> &#8211; the format is passed to strftime(3) and the result is inserted into the prompt string; an empty format results in a locale-specific time representation. The braces are required<br />
<strong>\e</strong> &#8211; an ASCII escape character (033)<br />
<strong>\h</strong> &#8211; the hostname up to the first `.&#8217;<br />
<strong>\H</strong> &#8211; the hostname<br />
<strong>\j</strong> &#8211; the number of jobs currently managed by the shell<br />
<strong>\l</strong> &#8211; the basename of the shell&#8217;s terminal device name<br />
<strong>\n</strong> &#8211; newline<br />
<strong>\r</strong> &#8211; carriage return<br />
<strong>\s</strong> &#8211; the name of the shell, the basename of $0 (the portion following the final slash)<br />
<strong>\t</strong> &#8211; the current time in 24-hour HH:MM:SS format<br />
<strong>\T</strong> &#8211; the current time in 12-hour HH:MM:SS format<br />
<strong>\@</strong> &#8211; the current time in 12-hour am/pm format<br />
<strong>\A</strong> &#8211; the current time in 24-hour HH:MM format<br />
<strong>\u</strong> &#8211; the username of the current user<br />
<strong>\v</strong> &#8211; the version of bash (e.g., 2.00)<br />
<strong>\V</strong> &#8211; the release of bash, version + patchelvel (e.g., 2.00.0)<br />
<strong>\w</strong> &#8211; the current working directory<br />
<strong>\W</strong> &#8211; the basename of the current working directory<br />
<strong>\!</strong> &#8211; the history number of this command<br />
<strong>\#</strong> &#8211; the command number of this command<br />
<strong>\$</strong> &#8211; if the effective UID is 0, a #, otherwise a $<br />
<strong>\nnn</strong> &#8211; the character corresponding to the octal number nnn<br />
<strong>\\</strong> &#8211; a backslash<br />
<strong>\[</strong> - begin a sequence of non-printing characters, which could be used to embed a terminal control sequence into the prompt<br />
<strong>\]</strong> &#8211; end a sequence of non-printing characters </p>
<p>Lets try a simple change. Make sure you use <a href="http://www.wiredrevolution.com/programming/bash-programming/single-versus-double-quotes-in-bash">double quotes</a> so the escape characters get passed on to the variable and not expanded in the shell.</p>
<pre>
ryan@workstation ~ $ PS1="My Prompt: $ "
</pre>
<pre>
My Prompt: $
</pre>
<p>As you can see the prompt will immediately change to reflect the changes.</p>
<p>We can add the date to the prompt.</p>
<pre>
ryan@workstation ~ $ PS1="\d \u@\h \w \$ "
</pre>
<pre>
Sun Oct 19 ryan@workstation ~ $
</pre>
<p>Now lets add some color to our original prompt.</p>
<pre>
ryan@workstation ~ $ PS1="\[\e[1;32m\]\u@\h\[\e[1;34m\] \w \$\[\e[0m\] "
</pre>
<p>Let go over this in detail.</p>
<p>A style block will display all text that follows with the style it defines. The block contains 3 elements.</p>
<p>Lets look at the first block.<br />
&#8220;\[\e[1;32m\]&#8221;</p>
<p>&#8220;<strong>\[</strong>" - begin a sequence of non-printing characters<br />
"<strong>\e[1;32m</strong>" - the semicolon separated list of style/color codes (in this case <strong>bold;green</strong>)<br />
"<strong>\]</strong>&#8221; &#8211; end a sequence of non-printing characters</p>
<p>The first block will display the following <em>username@hostname</em> text in BOLD green.<br />
&#8220;<strong>\[\e[1;32m\]</strong>\u@\h\[\e[1;34m\] \w \$\[\e[0m\] &#8221;</p>
<p>The second block will display the following <em>working_directory</em> text in BOLD blue.<br />
&#8220;\[\e[1;32m\]\u@\h<strong>\[\e[1;34m\]</strong> \w \$\[\e[0m\] &#8221;</p>
<p>The final block resets the colors.<br />
&#8220;\[\e[1;32m\]\u@\h\[\e[1;34m\] \w \$<strong>\[\e[0m\]</strong> &#8221;</p>
<p>Here is a rundown of all the color and style codes.</p>
<h3>Color and Style Codes</h3>
<p><strong>Style</strong><br />
0 &#8211; default<br />
1 &#8211; bold<br />
4 &#8211; underline<br />
7 &#8211; inverse<br />
9 &#8211; strikeout</p>
<p><strong>Foreground Colors</strong><br />
30 &#8211; foreground Black<br />
31 &#8211; foreground Red<br />
32 &#8211; foreground Green<br />
33 &#8211; foreground Yellow<br />
34 &#8211; foreground Blue<br />
35 &#8211; foreground Magenta<br />
36 &#8211; foreground Cyan<br />
37 &#8211; foreground White</p>
<p><strong>Background Colors</strong><br />
40 &#8211; background Black<br />
41 &#8211; background Red<br />
42 &#8211; background Green<br />
43 &#8211; background Yellow<br />
44 &#8211; background Blue<br />
45 &#8211; background Magenta<br />
46 &#8211; background Cyan<br />
47 &#8211; background White</p>
<p>You can combine multiple codes to create the exact style you want.<br />
&#8220;\[\e[1;4;36;47m\]&#8221;<br />
This style block defines bold and underlined cyan text with a white background. </p>
<p>To make these changes permanent place your new prompt string like the one below in your <strong>~/.bashrc</strong> file in your home directory. </p>
<pre>
PS1="\[\e[1;32m\]\u@\h\[\e[1;34m\] \w \$ \[\e[0m\]"
</pre>
<p>This file is sourced every time you start a new interactive shell.</p>


<p>Related posts<ol><li><a href='http://www.wiredrevolution.com/bash-programming/command-substitution-in-bash' rel='bookmark' title='Permanent Link: Command substitution in BASH'>Command substitution in BASH</a></li>
<li><a href='http://www.wiredrevolution.com/bash-programming/have-a-bash-script-determine-its-own-location' rel='bookmark' title='Permanent Link: Have a Bash script determine it&#8217;s own location'>Have a Bash script determine it&#8217;s own location</a></li>
<li><a href='http://www.wiredrevolution.com/bash-programming/find-the-pid-of-a-background-child-process-in-bash' rel='bookmark' title='Permanent Link: Find the PID of a background child process in Bash'>Find the PID of a background child process in Bash</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.wiredrevolution.com/bash-programming/customize-the-bash-ps1-command-prompt/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

