<?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>Ru Servers Reference Blog</title>
	<atom:link href="http://blog.server.ruservers.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.server.ruservers.com</link>
	<description>Server Maintenance Guide</description>
	<lastBuildDate>Sat, 19 Dec 2009 14:55:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>WordPress 2.9</title>
		<link>http://blog.server.ruservers.com/2009/12/wordpress-2-9/</link>
		<comments>http://blog.server.ruservers.com/2009/12/wordpress-2-9/#comments</comments>
		<pubDate>Sat, 19 Dec 2009 14:55:17 +0000</pubDate>
		<dc:creator>Ru Servers</dc:creator>
				<category><![CDATA[CMS]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.server.ruservers.com/2009/12/wordpress-2-9/</guid>
		<description><![CDATA[&#160;
Source: Wordpress Blog
&#160;
I want to make you mine, all the time… oh wait. Hello. I’m here on behalf of the entire WordPress development team and community to announce the immediate availability of WordPress version 2.9 “Carmen” named in honor of magical jazz vocalist Carmen McRae (whom we’ve added to our Last.fm WP release station). You [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>Source: <a href="http://wordpress.org/development/2009/12/wordpress-2-9/" target="_blank">Wordpress Blog</a></p>
<p>&#160;</p>
<p>I want to make you mine, all the time… oh wait. Hello. I’m here on behalf of the entire WordPress development team and community to announce the immediate availability of <a href="http://wordpress.org/download/">WordPress version 2.9 “Carmen”</a> named in honor of magical jazz vocalist <a href="http://www.carmenmcrae.com/">Carmen McRae</a> (whom we’ve <a href="http://www.last.fm/tag/wordpress-release-jazz">added to our Last.fm WP release station</a>). You can upgrade easily from your Dashboard by going to <strong>Tools</strong> &gt; <strong>Upgrade</strong>, or you can <a href="http://wordpress.org/download/">download from WordPress.org</a>. And of course, it wouldn’t be a major release without a short video summarizing some of the cool things about the new version:</p>
<p>&#160;</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:f505be24-5869-467b-b1b1-1b79f394bcbc" class="wlWriterEditableSmartContent">
<div><embed src="http://v.wordpress.com/wp-content/plugins/video/flvplayer.swf?ver=1.11" type="application/x-shockwave-flash" width="563" height="316" allowscriptaccess="always" allowfullscreen="true" flashvars="guid=NBZ853Xn&amp;width=563&amp;height=316" title="Introducing WordPress 2.9 Carmen"></embed></div>
</div>
<p>&#160;</p>
<p>The coolest new stuff from a user point of view is:</p>
<ol>
<li><strong>Global undo/”trash” feature</strong>, which means that if you accidentally delete a post or comment you can bring it back from the grave (i.e., the Trash). This also eliminates those annoying “are you sure” messages we used to have on every delete. </li>
<li><strong>Built-in image editor</strong> allows you to crop, edit, rotate, flip, and scale your images to show them who’s boss. This is the first wave of our many planned media-handling improvements. </li>
<li><strong>Batch plugin update and compatibility checking,</strong> which means you can update 10 plugins at once, versus having to do multiple clicks for each one, and we’re using the new compatibility data from the plugins directory to give you a better idea of whether your plugins are compatible with new releases of WordPress. This should take the fear and hassle out of upgrading. </li>
<li><a href="http://codex.wordpress.org/Embeds"><strong>Easier video embeds</strong></a> that allow you to just paste a URL on its own line and have it magically turn it into the proper embed code, with Oembed support for YouTube, Daily Motion, Blip.tv, Flickr, Hulu, Viddler, Qik, Revision3, Scribd, Google Video, Photobucket, PollDaddy, and WordPress.tv (and more in the next release). </li>
</ol>
<p>2.9 provides the smoothest ride yet because of a number of improvements under the hood and more subtle improvements you’ll begin to appreciate once you’ve been around the block a few times. Here’s just a sampling:</p>
<ul>
<li>We now have <code>rel=canonical</code> support for better SEO. </li>
<li>There is automatic database optimization support, which you can enable in your <code>wp-config.php</code> file by adding <code>define('WP_ALLOW_REPAIR', true);</code>. </li>
<li>Themes can register “post thumbnails” which allow them to attach an image to the post, especially useful for magazine-style themes. </li>
<li>A new <code>commentmeta</code> table that allows arbitrary key/value pairs to be attached to comments, just like posts, so you can now expand greatly what you can do in the comment framework. </li>
<li>Custom post types have been upgraded with better API support so you can juggle more types than just post, page, and attachment. (More of this planned for 3.0.) </li>
<li>You can set custom theme directories, so a plugin can register a theme to be bundled with it or you can have multiple shared theme directories on your server. </li>
<li>We’ve upgraded TinyMCE WYSIWYG editing and Simplepie. </li>
<li>Sidebars can now have descriptions so it’s more obvious what and where they do what they do. </li>
<li>Specify category templates not just by ID, like before, but by slug, which will make it easier for theme developers to do custom things with categories — like post types! </li>
<li>Registration and profiles are now extensible to allow you to collect things more easily, like a user’s Twitter account or any other fields you can imagine. </li>
<li>The XML-RPC API has been extended to allow changing the user registration option. We fixed some Atom API attachment issues. </li>
<li>Create custom galleries with the new include and exclude attributes that allow you to pull attachments from any post, not just the current one. </li>
<li>When you’re editing files in the theme and plugin editors it remembers your location and takes you back to that line after you save. (Thank goodness!!!) </li>
<li>The Press This bookmarklet has been improved and is faster than ever; give it a try for on-the-fly blogging from wherever you are on the internet. </li>
<li>Custom taxonomies are now included in the WXR export file and imported correctly. </li>
<li>Better hooks and filters for excerpts, smilies, HTTP requests, user profiles, author links, taxonomies, SSL support, tag clouds, query_posts and WP_Query </li>
</ul>
<p>All of this and more is reflected in the <a href="http://core.trac.wordpress.org/query?status=closed&amp;milestone=2.9">over 500 tickets, bugs, and enhancements that WP developers in this release cycle</a>.</p>
<p>This release included code from over 140 contributors, here’s everyone we were able to identify: <a href="http://xavisys.com/">aaroncampbell (Aaron Campbell)</a>, <a href="http://sixohthree.com/">abackstrom (Adam Backstrom)</a>, <a href="http://www.aldenta.com/">aldenta (John Ford)</a>, <a href="http://alexking.org/">alexkingorg (Alex King)</a>, [amilanov], <a href="http://antony.lesuisse.org/">antonylesuisse (Antony Lesuisse)</a>, <a href="http://apeatling.wordpress.com/">apeatling (Andy Peatling)</a>, <a href="http://blog.apokalyptik.com/">apokalyptik (Demitrious Kelly)</a>, <a href="http://www.mailpress.org/">arena (André Renaut)</a>, <a href="http://digitalize.ca/">batmoo (Mohammad Jangda)</a>, <a href="http://bendunkle.com/">Ben Dunkle</a>, <a href="http://profiles.wordpress.org/benbe1987">BenBE1987</a>, <a href="http://blog.bf-itservice.de/">Benjamin Flesch</a>, <a href="http://www.happyhumans.com/">bookchiq (Sarah Lewis)</a>, <a href="http://profiles.wordpress.org/brianwhite">brianwhite</a>, <a href="http://profiles.wordpress.org/c0nstruct">c0nstruct</a>, <a href="http://www.caesarsgrunt.com/">caesarsgrunt (Caesar Schinas)</a>, <a href="http://kniffenwebdesign.com/">CalebKniffen (Caleb Kniffen)</a>, <a href="http://profiles.wordpress.org/chrisbliss18">chrisbliss18</a>, <a href="http://profiles.wordpress.org/chrisscott">chrisscott (Chris Scott)</a>, <a href="http://profiles.wordpress.org/christoph179">christoph179</a>, <a href="http://coffee2code.com/">coffee2code (Scott Reilly)</a>, [cross country flight], <a href="http://www.curioso.org/">Curioso</a>, <a href="http://dave.pageportfolio.co.uk/">davecpage (Dave Page)</a>, <a href="http://dan-cole.com/">dcole07 (Dan Cole)</a>, <a href="http://dd32.id.au/">dd32 (Dion Hulse)</a>, <a href="http://op111.net/">demetris (???????? ???????)</a>, <a href="http://www.semiologic.com/">Denis-de-Bernardy</a>, <a href="http://profiles.wordpress.org/dj-wp">dj-wp</a>, <a href="http://profiles.wordpress.org/dwright">dwright</a>, <a href="http://eddieringle.com/">eddieringle (Eddie Ringle)</a>, <a href="http://www.homelandstupidity.us/">error (Michael Hampton)</a>, <a href="http://profiles.wordpress.org/ewestp">ewestp</a>, <a href="http://profiles.wordpress.org/fabifott">fabifott</a>, <a href="http://www.ilfilosofo.com/">filosofo (Austin Matzko)</a>, <a href="http://justintadlock.com/">greenshady (Justin Tadlock)</a>, <a href="http://gsnedders.com/">gsnedders/link92 (Geoffrey Sneddon)</a>, <a href="http://hailin.wordpress.com/">hailin (Hailin Wu)</a>, <a href="http://codex.wordpress.org/User:Hakre">hakre</a>, <a href="http://profiles.wordpress.org/hanilovesme">hanilovesme</a>, <a href="http://ondskap.net/wp/">Harald Nesland</a>, <a href="http://profiles.wordpress.org/harrym">harrym</a>, <a href="http://holizz.com/">holizz (Tom Adams)</a>, <a href="http://profiles.wordpress.org/ikonst">ikonst</a>, <a href="http://jacobsantos.com/">jacobsantos (Jacob Santos)</a>, <a href="http://jane.wordpress.com/">janeforshort (Jane Wells)</a>, <a href="http://om4.com.au/">jamescollins (James Collins)</a>, <a href="http://bethesignal.org/">jdub (Jeff Waugh)</a>, <a href="http://www.modulaweb.fr/">jeff_ (Jean-François “Jeff” VIAL)</a>, <a href="http://simianuprising.com/">jeremyclarke (Jeremy Clarke)</a>, <a href="http://jeremy.visser.name/">JeremyVisser (Jeremy Visser)</a>, <a href="http://profiles.wordpress.org/jikamens">jikamens</a>, <a href="http://profiles.wordpress.org/jmulley">jmulley</a>, <a href="http://profiles.wordpress.org/joern_w">Joern_W</a>, <a href="http://devel.kostdoktorn.se/">johanee (Johan Eenfeldt)</a>, <a href="http://lud.icro.us/">johnbillion (John Blackbourn)</a>, <a href="http://johnjamesjacoby.com/">johnjamesjacoby (John James Jacoby)</a>, <a href="http://profiles.wordpress.org/johnjosephbachir">johnjosephbachir (John Joseph Bachir)</a>, <a href="http://profiles.wordpress.org/jonathanrogers">JonathanRogers</a>, <a href="http://yoast.com/">joostdevalk (Joost de Valk)</a>, <a href="http://rooibo.wordpress.com/">Jose Carlos Norte</a>, <a href="http://josephscott.org/">josephscott (Joseph Scott)</a>, <a href="http://tyco.ws/">junsuijin</a>, <a href="http://agapetry.net/">kevinB (Kevin Behrens)</a>, <a href="http://kometbomb.net/">kometbomb</a>, <a href="http://www.yuriko.net/">lilyfan (IKEDA Yuriko)</a>, [lostinlafayette], <a href="http://profiles.wordpress.org/madhyde">madhyde</a>, <a href="http://subscribe2.wordpress.com/">MattyRob</a>, <a href="http://blogwaffe.com/">mdawaffe (Michael Adams)</a>, <a href="http://www.mittineague.com/">Mittineague</a>, <a href="http://blogyul.miqrogroove.com/">miqrogroove</a>, <a href="http://profiles.wordpress.org/morfiusx">morfiusx</a>, <a href="http://www.misthaven.org.uk/blog/">mrmist (David McFarlane)</a>, <a href="http://nickmomrik.com/">mtdewvirus (Nick Momrik)</a>, <a href="http://urzenia.net/">mysz</a>, <a href="http://twitter.com/nacin">nacin (Andrew Nacin)</a>, <a href="http://thebookofjoe.com/">nanochrome</a>, <a href="http://blog.detlog.org/">nao (Naoko McCracken)</a>, <a href="http://www.nathanrice.net/">nathanrice (Nathan Rice)</a>, <a href="http://nikolay.bg/">nbachiyski (??????? ????????)</a>, <a href="http://www.niallkennedy.com/">niallkennedy (Niall Kennedy)</a>, <a href="http://nickohrn.com/">nickohrn (Nick Ohrn)</a>, <a href="http://www.rpmurphy.com/">ninjaWR (Ryan Murphy)</a>, <a href="http://noel.io/">noel (Noël Jackson)</a>, <a href="http://ottodestruct.com/">Otto42 (Samuel Wood)</a>, <a href="https://redmine.kirdev.sch.bme.hu/">pairg</a>, <a href="https://peaceable-whale.pip.verisignlabs.com/">peaceablewhale (Franklin Tse)</a>, <a href="http://cnpstudio.com/">prettyboymp (Michael Pretty)</a>, <a href="http://www.prodevstudio.net">ProDevStudio</a>, <a href="http://www.bdihot.co.il/">ramiy</a>, <a href="http://www.red-sweater.com/blog/">redsweater (Daniel Jalkut)</a>, <a href="http://ruslany.net/">ruslany</a>, <a href="http://unlettered.org/">sambauers (Sam Bauers)</a>, <a href="http://scribu.net/">scribu</a>, <a href="http://profiles.wordpress.org/sewar">Sewar</a>, <a href="http://profiles.wordpress.org/simek">Simek</a>, <a href="http://www.simonwheatley.co.uk/">simonwheatley (Simon Wheatley)</a>, <a href="http://www.poradnik-webmastera.com/">sirzooro (Daniel Fru?y?ski)</a>, <a href="http://sivel.net/">sivel (Matt Martz)</a>, <a href="http://skeltoac.com/">skeltoac (Andy Skelton)</a>, <a href="http://smallvoid.com/about/">snakefoot</a>, <a href="http://stephanreiter.info/">stephanreiter (Stephan Reiter)</a>, <a href="http://striderweb.com/nerdaphernalia/">strider72 (Stephen Rider)</a>, <a href="http://profiles.wordpress.org/taco1991">taco1991</a>, <a href="http://ideasilo.wordpress.com/">takayukister (Takayuki Miyoshi)</a>, <a href="http://tellyworth.wordpress.com/">tellyworth</a>, <a href="http://profiles.wordpress.org/tenpura">tenpura</a>, <a href="http://profiles.wordpress.org/usermrpapa">usermrpapa</a>, <a href="http://profiles.wordpress.org/utkarsh">utkarsh</a>, <a href="http://www.viper007bond.com/">Viper007Bond</a>, <a href="http://blog.sjinks.org.ua/">vladimir_kolesnikov (Vladimir Kolesnikov)</a>, <a href="http://voxpelli.se/">VoxPelli (Pelle Wessman)</a>, [voyou1], <a href="http://emphaticallystatic.org/">wahgnube</a>, <a href="http://www.waltervos.com/">waltervos</a>, <a href="http://weston.ruter.net/">westonruter (Weston Ruter)</a>, <a href="http://willnorris.com/">wnorris (Will Norris)</a>, <a href="http://xentek.net/">xenlab (Eric Marden)</a>, <a href="http://blog.yoavfarhi.com/">yoavf (Yoav Farhi)</a>. Wowza!</p>
<p>2.9 has been an exciting development cycle, and I must say it has whetted our appetite for 3.0, which is coming next (probably this spring) and will include at the very least the merge of MU with the WordPress core, and a new default theme. We can’t wait to start working on it. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.server.ruservers.com/2009/12/wordpress-2-9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress 2.8</title>
		<link>http://blog.server.ruservers.com/2009/06/wordpress-2-8/</link>
		<comments>http://blog.server.ruservers.com/2009/06/wordpress-2-8/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 10:10:22 +0000</pubDate>
		<dc:creator>Ru Servers</dc:creator>
				<category><![CDATA[CMS]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.server.ruservers.com/2009/06/wordpress-2-8/</guid>
		<description><![CDATA[&#160;
Source: Wprdpress Blog
&#160;
The latest and greatest version of WordPress, version 2.8 “Baker,” is immediately available for download. 2.8 represents a nice fit and finish release for WordPress with improvements to themes, widgets, taxonomies, and overall speed. We also fixed over 790 bugs. This release is named in honor of noted trumpeter and vocalist Chet Baker. [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>Source: <a href="http://wordpress.org/development/2009/06/wordpress-28/" target="_blank">Wprdpress Blog</a></p>
<p>&#160;</p>
<p>The latest and greatest version of WordPress, version 2.8 “Baker,” <a href="http://wordpress.org/download/">is immediately available for download</a>. 2.8 represents a nice fit and finish release for WordPress with improvements to themes, widgets, taxonomies, and overall speed. We also fixed over 790 bugs. This release is named in honor of noted trumpeter and vocalist <a href="http://en.wikipedia.org/wiki/Chet_Baker">Chet Baker</a>. Here’s a quick video overview of everything in the new release:</p>
<p>&#160;</p>
<div style="padding-bottom: 0px; padding-left: 0px; width: 400px; padding-right: 0px; display: block; float: none; margin-left: auto; margin-right: auto; padding-top: 0px" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:14cf1605-e657-47e8-a5bc-57221931f398" class="wlWriterEditableSmartContent">
<div><embed src="http://v.wordpress.com/Pu3T4X8l" type="application/x-shockwave-flash" width="400" height="224" allowscriptaccess="always" allowfullscreen="true"></embed></div>
</div>
<p>&#160;</p>
<p>The first thing you’ll notice is that visually 2.8 feels a lot like 2.7, just with some minor tweaks here and there. However once you’ll dig in you’ll begin to appreciate the changes.</p>
<h5>Major New Improvements</h5>
<p>First and foremost, <strong>2.8 is way faster to use</strong>. We’ve changed the way WordPress does style and scripting.</p>
<p>The core and plugin updaters in previous versions of WordPress have been such a success we decided to bring the same to themes. You can now <strong>browse the entire theme directory and install a theme with one click</strong> from the comfort of your WordPress dashboard.</p>
<p>If you make edits or tweaks to themes or plugins from your dashboard, you’ll appreciate the new <strong>CodePress editor</strong> which gives syntax highlighting to the previously-plain editor. Also there is now contextual documentation for the functions in the file you’re editing linked right below the editor.</p>
<p>If you were ever frustrated with widgets before, this release should be your savior. <strong>We’ve completely redesigned the widgets interface</strong> (which we didn’t have time to in 2.7) to allow you to do things like edit widgets on the fly, have multiple copies of the same widget, drag and drop widgets between sidebars, and save inactive widgets so you don’t lose all their settings. Developers now have access to a <a href="http://codex.wordpress.org/WordPress_Widgets_Api">much cleaner and robust API</a> for creating widgets as well.</p>
<p>Finally you should explore the <strong>new Screen Options on every page</strong>. It’s the tab in the top right. Now, for example, if you have a wide monitor you could set up your dashboard to have four columns of widgets instead of the two it has by default. On other pages you can change how many items show per page.</p>
<h5>And Even More</h5>
<p><a href="http://codex.wordpress.org/Version_2.8">You can read the full list of over 180 new features, changes, upgrades, and improvements on the Codex</a>. The list is exhausting!</p>
<h5>The Future</h5>
<p>We’re already thinking hard about the next versions, 2.9 and 3.0. Keep an eye out for improved media handling, better dependency checking, versioning of templates and themes, and of course the fabled merging of WordPress and MU announced at WordCamp San Francisco two weeks ago.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.server.ruservers.com/2009/06/wordpress-2-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Export and Backup Emails from Outlook to Gmail Online</title>
		<link>http://blog.server.ruservers.com/2009/03/export-and-backup-emails-from-outlook-to-gmail-online/</link>
		<comments>http://blog.server.ruservers.com/2009/03/export-and-backup-emails-from-outlook-to-gmail-online/#comments</comments>
		<pubDate>Sat, 21 Mar 2009 21:33:57 +0000</pubDate>
		<dc:creator>Ru Servers</dc:creator>
				<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://blog.server.ruservers.com/2009/03/export-and-backup-emails-from-outlook-to-gmail-online/</guid>
		<description><![CDATA[&#160;
Source: http://www.labnol.org/internet/email/export-outlook-email-to-gmail-pst-backup/1938/
&#160;
Sachin writes &#8211; “I have few thousand email messages inside Microsoft Outlook (a pst file) organized in various folders. I know it is possible to download emails from Gmail to Outlook using POP3 or IMAP but is the reverse path possible.” 
Sachin is looking for a trick to archive all Outlook email messages (and [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>Source: <a title="http://www.labnol.org/internet/email/export-outlook-email-to-gmail-pst-backup/1938/" href="http://www.labnol.org/internet/email/export-outlook-email-to-gmail-pst-backup/1938/" target="_blank">http://www.labnol.org/internet/email/export-outlook-email-to-gmail-pst-backup/1938/</a></p>
<p>&#160;</p>
<p>Sachin writes &#8211; “I have few thousand email messages inside Microsoft Outlook (a pst file) organized in various folders. I know it is possible to download emails from Gmail to Outlook using <a href="http://labnol.blogspot.com/2005/11/gmail-inbox-backup-with-microsoft.html">POP3</a> or <a href="http://www.labnol.org/internet/email/synchronize-gmail-emails-outlook-express-labels/1615/">IMAP</a> but is the reverse path possible.” </p>
<p>Sachin is looking for <strong>a trick to archive all Outlook email messages (and folders) to his online Gmail account</strong> for two reasons &#8211; one is <strong>secure backup</strong> and two, he will be able to <strong>access his old emails from any computer</strong>.</p>
<p><a href="http://blog.server.ruservers.com/wp-content/uploads/2009/03/gmailoutlookbackup.gif" target="_blank" rel="lightbox[186]"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="gmailoutlookbackup" border="0" alt="gmailoutlookbackup" src="http://blog.server.ruservers.com/wp-content/uploads/2009/03/gmailoutlookbackup-thumb.gif" width="446" height="152" /></a> </p>
<p>Solution: It is quite easy to transfer Outlook emails to your Gmail mailbox. Here’s a step by step guide:</p>
<p><strong>Step 1:</strong> Enable IMAP in your Gmail account and then configure Outlook (or Outlook Express or Windows Live Mail) to sync with your Gmail address via IMAP. Read <a href="http://www.howtogeek.com/howto/microsoft-office/use-gmail-imap-in-microsoft-outlook-2007/">this</a> guide.</p>
<p><strong><a href="http://blog.server.ruservers.com/wp-content/uploads/2009/03/archivepst.png" target="_blank" rel="lightbox[186]"><img style="border-bottom: 0px; border-left: 0px; display: inline; margin-left: 0px; border-top: 0px; margin-right: 0px; border-right: 0px" title="archivepst" border="0" alt="archivepst" align="right" src="http://blog.server.ruservers.com/wp-content/uploads/2009/03/archivepst-thumb.png" width="200" height="164" /></a> Step 2:</strong> Import your Outlook PST file into a Personal folder that is different from your default Gmail Inbox. </p>
<p>To import, click File -&gt; Import And Export -&gt; Import from another program or file. -&gt; Next -&gt; Personal Folder File (.pst) -&gt; Next. </p>
<p>Select the PST file that contains your email, then pick the email folders that you want to import in Outlook and click <strong>Finish</strong>.</p>
<p><strong>Step 3:</strong> Select the Personal folders that you want to backup online and copy them your Gmail Folder in Outlook (see screenshot).</p>
<p>In the <strong>Folder List</strong>, right-click the folder you want to copy and click <strong>Copy <em>Folder name</em></strong>. Click the Gmail Folder in Outlook to copy that folder in that location. You can repeat the steps as needed for other folders. </p>
<p><strong><a href="http://blog.server.ruservers.com/wp-content/uploads/2009/03/copyoutlookfolder.png" target="_blank" rel="lightbox[186]"><img style="border-bottom: 0px; border-left: 0px; display: inline; margin-left: 0px; border-top: 0px; margin-right: 0px; border-right: 0px" title="copyoutlookfolder" border="0" alt="copyoutlookfolder" align="right" src="http://blog.server.ruservers.com/wp-content/uploads/2009/03/copyoutlookfolder-thumb.png" width="270" height="162" /></a> </strong>That’s it. Your Outlook email will soon become available inside your online Gmail Inbox.</p>
<p>If your switching from Hotmail to Gmail, check this tutorial on <a href="http://www.labnol.org/internet/email/move-emails-from-hotmail-to-gmail-outlook-imap/1951/"><strong>moving emails from Hotmail to Gmail</strong></a>.</p>
<p>Caution: The migration from Outlook to Gmail can take a long time if you have very large Outlook pst file or if your internet connection speed is slow. Therefore, consider <a href="http://www.labnol.org/software/tutorials/advantages-using-gmail-imap-microsoft-outlook/1781/">removing all large emails</a> before moving them to your Gmail via IMAP.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.server.ruservers.com/2009/03/export-and-backup-emails-from-outlook-to-gmail-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Manage Profiles</title>
		<link>http://blog.server.ruservers.com/2009/03/how-to-manage-profiles/</link>
		<comments>http://blog.server.ruservers.com/2009/03/how-to-manage-profiles/#comments</comments>
		<pubDate>Sat, 21 Mar 2009 20:33:20 +0000</pubDate>
		<dc:creator>Ru Servers</dc:creator>
				<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://blog.server.ruservers.com/2009/03/how-to-manage-profiles/</guid>
		<description><![CDATA[&#160;
Source: http://www.mozilla.org/support/thunderbird/profile
&#160;
Mozilla Thunderbird stores all your personal settings, such as your mail, passwords and extensions, in a profile. The profile is stored on your hard drive in a profile folder. 
If you run into problems using Thunderbird (e.g. problems starting after installing an extension, or other features not functioning properly), the first thing you&#8217;re usually [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>Source: <a title="http://www.mozilla.org/support/thunderbird/profile" href="http://www.mozilla.org/support/thunderbird/profile" target="_blank">http://www.mozilla.org/support/thunderbird/profile</a></p>
<p>&#160;</p>
<p>Mozilla Thunderbird stores all your personal settings, such as your mail, passwords and extensions, in a <em>profile</em>. The profile is stored on your hard drive in a <em>profile folder</em>. </p>
<p>If you run into problems using Thunderbird (e.g. problems starting after installing an extension, or other features not functioning properly), the first thing you&#8217;re usually asked to do in the tech support forum is to <a href="http://www.mozilla.org/support/thunderbird/profile#new">create a new profile</a>. This tutorial will not only show you how to do that, but also how to create backups and move or restore existing profiles.</p>
<h4><a>Contents</a></h4>
<ul>
<li><a href="http://www.mozilla.org/support/thunderbird/profile#locate">Locate your profile folder</a></li>
<li><a href="http://www.mozilla.org/support/thunderbird/profile#new">Create a new profile</a></li>
<li><a href="http://www.mozilla.org/support/thunderbird/profile#backup">Backing up your profile</a></li>
<li><a href="http://www.mozilla.org/support/thunderbird/profile#move">Move an existing profile or restore a backed up profile</a></li>
</ul>
<h4>Locate your profile folder</h4>
<p>Knowing where your profile folder is stored can be useful if, for example, you want to make a backup of your personal data.</p>
<ul>
<li>On <strong>Windows Vista/XP/2000</strong>, the path is usually <code><a href="http://www.mozilla.org/support/thunderbird/profile#appdata">%AppData%</a>\Thunderbird\Profiles\<var>xxxxxxxx</var>.default\</code>, where <var>xxxxxxxx</var> is a random string of 8 characters. Just browse to <code>C:\Documents and Settings\<var>[User Name]</var>\Application Data\Thunderbird\Profiles\</code> on Windows XP/2000 or <code>C:\users\<var>[User Name]</var>\AppData\Roaming\Thunderbird\Profiles\</code> on Windows Vista, and the rest should be obvious. </li>
<li>On <strong>Windows 95/98/Me</strong>, the path is usually <code>C:\WINDOWS\Application Data\Mozilla\Thunderbird\Profiles\<var>xxxxxxxx</var>.default\</code></li>
<li>On <strong>Linux</strong>, the path is usually <code>~/.thunderbird/<var>xxxxxxxx</var>.default/</code></li>
<li>On <strong>Mac OS X</strong>, the path is usually <code>~/Library/Thunderbird/Profiles/<var>xxxxxxxx</var>.default/</code></li>
</ul>
<p><a><var>%AppData%</var></a> is a shorthand for the Application Data path on Windows 2000/XP/Vista. To use it, click Start &gt; Run&#8230; (use the search box on Vista), enter %AppData% and press <kbd>Enter</kbd>. You will be taken to the &quot;real&quot; folder, which is normally <code>C:\Documents and Settings\<var>[User Name]</var>\Application Data</code> on Windows XP/2000, <code>C:\users\<var>[User Name]</var>\AppData\Roaming</code> on Windows Vista.</p>
<h4>Create a new profile</h4>
<p><a href="http://blog.server.ruservers.com/wp-content/uploads/2009/03/profilemanager1.png" target="_blank" rel="lightbox[179]"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="profilemanager1" border="0" alt="profilemanager1" src="http://blog.server.ruservers.com/wp-content/uploads/2009/03/profilemanager1-thumb.png" width="262" height="197" /></a> </p>
<p>The screenshots are from Firefox, but the appearance is the same in Thunderbird.</p>
<p>In order to create a new profile, you use the <em>Profile Manager</em>. To start the Profile Manager in Windows, follow these steps:</p>
<ol>
<li>Close Thunderbird completely (select File &gt; Exit from the main menu of Thunderbird). </li>
<li>Select Start &gt; Run&#8230; from the Windows Start menu (use the search box on Vista). </li>
<li>Enter <code>thunderbird.exe -ProfileManager</code> and press OK. </li>
</ol>
<p>On Mac OS X, navigate to <code>/Applications/Utilities</code>, open the Terminal application, type <code>/Applications/Thunderbird.app/Contents/MacOS/thunderbird -ProfileManager</code>, and press <kbd>Return</kbd>.</p>
<p>On Linux, start Thunderbird with the <var>-profilemanager</var> switch, e.g. <code>./thunderbird -ProfileManager</code> (this assumes that you&#8217;re in the Thunderbird directory).</p>
<p>You should now see the Profile Manager window, shown in the screenshot to the right.</p>
<p>From the Profile Manager you are also able to remove and rename profiles.</p>
<p><a href="http://blog.server.ruservers.com/wp-content/uploads/2009/03/profilemanager2.png" target="_blank" rel="lightbox[179]"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="profilemanager2" border="0" alt="profilemanager2" src="http://blog.server.ruservers.com/wp-content/uploads/2009/03/profilemanager2-thumb.png" width="365" height="280" /></a> </p>
<p>Click on the Create Profile&#8230; button to start the Create Profile Wizard. Click Next and enter the name of the profile, e.g. your name or something descriptive.</p>
<p>You can also choose where on the disk you want the profile to be stored, which is useful if you plan on exporting your settings to another computer or setup in the future.</p>
<p>Finally, click Finish to have Thunderbird create the new profile.</p>
<p><a href="http://blog.server.ruservers.com/wp-content/uploads/2009/03/profilemanager3.png" target="_blank" rel="lightbox[179]"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="profilemanager3" border="0" alt="profilemanager3" src="http://blog.server.ruservers.com/wp-content/uploads/2009/03/profilemanager3-thumb.png" width="262" height="197" /></a> </p>
<p>You should now be taken back to the Profile Manager and the newly created profile should be listed. Select it and click Start Thunderbird. That&#8217;s it! </p>
<p>You are now running Thunderbird with the new profile, which means all settings are reset to default. If you want to switch back to your old profile, just start the Profile Manager again (instructions above) and select the old profile.</p>
<p>You can also have Thunderbird start a selected profile automatically, so you don&#8217;t have to pick one each time the browser is launched. Do this by checking the Don&#8217;t ask at startup option.</p>
<h4>Backing up your profile</h4>
<p>Backing up your profile folder in Thunderbird is easy. Just follow these steps (which assumes you know how to manage files on your computer):</p>
<ol>
<li>Shut down Thunderbird completely (File &gt; Exit). </li>
<li>Make a copy of your <a href="http://www.mozilla.org/support/thunderbird/profile#locate">profile folder</a> to, for example, a CD-RW disc or a separate hard disk for backup purposes. </li>
</ol>
<h4>Move an existing profile or restore a backed up profile</h4>
<p>It&#8217;s possible to move the location of a profile folder. This could be useful if you have a backed up profile folder somewhere on your hard drive and want to tell Thunderbird to use that as your profile. This section explains how to do this.</p>
<ol>
<li>Shut down Thunderbird completely (File &gt; Exit). </li>
<li>Move the profile folder to the desired location. For example, on Windows XP, move the profile from <code>C:\Documents and Settings\<var>[username]</var>\Application Data\Thunderbird\Profiles\<var>xxxxxxxx.default</var></code> to <code>D:\Stuff\MyMailProfile</code>. If you are reading these instructions because you want to restore a previously backed up profile, this step isn&#8217;t necessary. Just note the current location of the profile you want to restore. </li>
<li>Open up <code>profiles.ini</code> in a text editor. The file is located in the <em>application data folder</em> for Thunderbird:
<ul>
<li>On <strong>Windows Vista/XP/2000</strong>, the path is <code><a href="http://www.mozilla.org/support/thunderbird/profile#appdata">%AppData%</a>\Thunderbird\</code></li>
<li>On <strong>Windows 95/98/Me</strong>, the path is usually <code>C:\WINDOWS\Application Data\Thunderbird\</code></li>
<li>On <strong>Linux</strong>, the path is <code>~/.thunderbird/</code></li>
<li>On <strong>Mac OS X</strong>, the path is <code>~/Library/Application Support/Thunderbird/</code></li>
</ul>
</li>
<li>In <code>profiles.ini</code>, locate the entry for the profile you&#8217;ve just moved. Change the <code>Path=</code> line to the new location. <strong>IMPORTANT NOTICE:</strong> If you switch from a relative path to a non-relative one, the direction of the slashes may need to change (e.g. in Windows, non-relative paths use backslashes, whereas relative ones use forward slashes). </li>
<li>Change <code>IsRelative=1</code> to <code>IsRelative=0</code>. </li>
<li>Save <code>profiles.ini</code> and restart Thunderbird. </li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.server.ruservers.com/2009/03/how-to-manage-profiles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to backup Windows Live Writer</title>
		<link>http://blog.server.ruservers.com/2009/03/how-to-backup-windows-live-writer/</link>
		<comments>http://blog.server.ruservers.com/2009/03/how-to-backup-windows-live-writer/#comments</comments>
		<pubDate>Sat, 21 Mar 2009 07:39:52 +0000</pubDate>
		<dc:creator>Ru Servers</dc:creator>
				<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://blog.server.ruservers.com/2009/03/how-to-backup-windows-live-writer/</guid>
		<description><![CDATA[&#160;
Source: http://www.backuphowto.info/how-backup-windows-live-writer
&#160;
Windows Live Writer is a blog writing tool. It provides a powerful editing environment, like a simple MS Word. You can use it to write on your own computer and after finishing a post just click the publish button. The post will be published.
If you are a blogger, you may know this software. It [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>Source: <a href="http://www.backuphowto.info/how-backup-windows-live-writer" target="_blank">http://www.backuphowto.info/how-backup-windows-live-writer</a></p>
<p>&#160;</p>
<p>Windows Live Writer is a blog writing tool. It provides a powerful editing environment, like a simple MS Word. You can use it to write on your own computer and after finishing a post just click the publish button. The post will be published.</p>
<p>If you are a blogger, you may know this software. It is a powerful utility for writing blogs. It supports many popular blogs API, such as WordPress, Blogger.com, etc.Windows Live Writer supports plugins. You can download some plugins to extend its functions. For example, highlighting your program code with <a href="http://www.delarou.net/weblog/PermaLink,guid,af38668b-ee76-490a-b628-4baf21e87e60.aspx">Syntax Highlighting plugin</a>. As a blogger, the articles are his life. To avoid your articles&#8217; losing, you should backup them regularly.</p>
<h4>Backing up your Live Writer data with Windows Live Writer Backup</h4>
<p><strong>Step 1.</strong> First, download this utility and install it. <a href="http://cid-fabdddc5cad93494.skydrive.live.com/self.aspx/My%20Projects/Live%20Writer%20Backup/LiveWriterBackupSetup.msi">Click to download</a></p>
<p><strong>Step 2.</strong> Start it from the Program menu. The interface looks very simple.</p>
<p><a href="http://blog.server.ruservers.com/wp-content/uploads/2009/03/130-84.png" target="_blank" rel="lightbox[172]"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="130_84" border="0" alt="130_84" src="http://blog.server.ruservers.com/wp-content/uploads/2009/03/130-84-thumb.png" width="400" height="258" /></a> </p>
<p>Windows Live Writer Backup Utility</p>
<p><strong>Step 3.</strong> Choose what you want to backup. Here, &quot;Blog settings&quot; means your blog information, such as your blog name, address, account name and password, etc. Draft blogs are your posts that haven&#8217;t been published. After you make your choice, click &quot;Backup&quot; button and choose a backup file name. A .wlwbackup file will be generated.</p>
<h4>Restoring Windows Live Writer</h4>
<p>Just click the &quot;Restore&quot; button in the picture above. An &quot;open file&quot; dialog will popup to let you choose the backup file. Note that restoring will overwrite your current blog settings. Your unpublished posts that haven&#8217;t been backup up will be lost. To avoid the unfortunate thing, a warning dialog will popup. So please think it over before clicking &quot;OK&quot;.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.server.ruservers.com/2009/03/how-to-backup-windows-live-writer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Custom Fields in Worpress</title>
		<link>http://blog.server.ruservers.com/2009/03/using-custom-fields-in-worpress/</link>
		<comments>http://blog.server.ruservers.com/2009/03/using-custom-fields-in-worpress/#comments</comments>
		<pubDate>Tue, 17 Mar 2009 08:56:33 +0000</pubDate>
		<dc:creator>Ru Servers</dc:creator>
				<category><![CDATA[CMS]]></category>

		<guid isPermaLink="false">http://blog.server.ruservers.com/2009/03/using-custom-fields-in-worpress/</guid>
		<description><![CDATA[&#160;
Source: http://codex.wordpress.org/Using_Custom_Fields
&#160;
WordPress has the ability to allow post authors to assign custom fields to a post. This arbitrary extra information is known as meta-data. This meta-data can include bits of information such as: 

Mood: Happy
Currently Reading: Cinderella
Listening To: Rock Around the Clock
Weather: Hot and humid

With some extra coding, it is possible to achieve more complex [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>Source: <a title="http://codex.wordpress.org/Using_Custom_Fields" href="http://codex.wordpress.org/Using_Custom_Fields" target="_blank">http://codex.wordpress.org/Using_Custom_Fields</a></p>
<p>&#160;</p>
<p>WordPress has the ability to allow post authors to assign custom fields to a post. This arbitrary extra information is known as <b>meta-data</b>. This <b>meta-data</b> can include bits of information such as: </p>
<ul>
<li><b>Mood: Happy</b></li>
<li><b>Currently Reading: Cinderella</b></li>
<li><b>Listening To: Rock Around the Clock</b></li>
<li><b>Weather: Hot and humid</b></li>
</ul>
<p>With some extra coding, it is possible to achieve more complex actions, such as using the <b>metadata</b> to store an expiration date for a post. </p>
<p>Meta-data is handled with <b>key/value</b> pairs. The <b>key</b> is the name of the meta-data element. The <b>value</b> is the information that will appear in the meta-data list on each individual post that the information is associated with. </p>
<p><b>Keys</b> can be used more than once per post. For example, if you were reading two different books (perhaps a technical book at work and a fiction at home), you could create a &quot;reading&quot; key and use it twice on the same post, once for each book. </p>
<p>Here is an example of what this information might look like on your post: </p>
<p><b>Currently Reading</b>: <i>Calvin and Hobbes</i></p>
<p><b>Today&#8217;s Mood</b>: <i>Jolly and Happy</i></p>
<p><a name="Usage"></a></p>
<h4>Usage</h4>
<p>Based upon our example above, let&#8217;s put this into action. We&#8217;ll add two custom fields, one called &quot;Currently Reading&quot; and the other &quot;Today&#8217;s Mood&quot;. The following instructions will demonstrate how to add this information to a post using Custom Fields. </p>
<ol>
<li>After you have written your post, scroll down to the area titled <b>Custom Fields</b>. </li>
<li>To create a new <b>Custom Field</b> called &quot;Currently Reading&quot;, enter the text &quot;Currently Reading&quot; (without the quotes) in the text entry field titled <b>Key</b>. </li>
<li>The newly created <b>Key</b> should now be assigned a <b>Value</b>, which in our case is the name of the book currently being read, &quot;Calvin and Hobbes&quot;. Type &quot;Calvin and Hobbes&quot; in the <i>Value</i> field, again without the quotes. </li>
<li>Click <b>Add Custom Field</b> button to save this custom information for that post. </li>
</ol>
<p>To add your &quot;Today&#8217;s Mood&quot;, repeat the process and add &quot;Today&#8217;s Mood&quot; to the <b>key</b> and a description of your mood in the <b>value</b> text boxes and click <b>SAVE</b> to save this information with the post. </p>
<p>On your next post, you can add a new book and mood to your meta-data. In the <b>Custom Fields</b> section, the <b>Key</b> will now feature a pull down list with the previously entered Custom Fields. Choose &quot;Currently Reading&quot; and then enter the new book you are reading in the <b>value</b>. Click <b>Add Custom Field</b> and then repeat the process to add &quot;Today&#8217;s Mood&quot;. </p>
<p>You only need to create a new &quot;KEY&quot; <b>once</b>, after which you can assign a value to that key for every post, if you so desire. You can also assign more than one <i>Value</i> to a key, for a post. This will come in handy for people who read more than one book at a time. </p>
<p><a name="Displaying_Custom_Fields"></a></p>
<h4>Displaying Custom Fields</h4>
<p>With a Custom Field added to the post, it&#8217;s time to display your books and mood to the world. To display the Custom Fields for each post, use the <tt><a href="http://codex.wordpress.org/Template_Tags/the_meta">the_meta()</a></tt> template tag. The tag must be put within <a href="http://codex.wordpress.org/The_Loop">The Loop</a> in order to work. Many people add <tt>the_meta()</tt> template tag to the end of their post or in their <a href="http://codex.wordpress.org/Post_Meta_Data_Section">Post Meta Data Section</a>. Here is a basic example of using the tag: </p>
<pre>&lt;?php the_meta(); ?&gt;</pre>
<p>It might look like this in the source code: </p>
<pre>&lt;ul class='post-meta'&gt;
&lt;li&gt;&lt;span class='post-meta-key'&gt;Curently Reading:&lt;/span&gt; Calvin and Hobbes&lt;/li&gt;
&lt;li&gt;&lt;span class='post-meta-key'&gt;Today's Mood:&lt;/span&gt; Jolly and Happy&lt;/li&gt;
&lt;/ul&gt;</pre>
<p>The template tag automatically puts the entire meta-data into a CSS style called <tt>post-meta</tt>. The <b>key</b> is in a <tt>span</tt> called <tt>post-meta-key</tt> so you can style it in your style sheet. All of this is showcased in an unordered list. </p>
<p>To customize the look of the post-meta list, change the characteristics in your style sheet. For instance, let&#8217;s add some style to our example from the top. The style sheet elements would look like this: </p>
<pre>.post-meta {font-variant: small-caps; color: maroon; }
.post-meta-key {color: green; font-weight: bold; font-size: 110%; }</pre>
<ul>
<li>Currently Reading: Calvin and Hobbes</li>
<li>Today&#8217;s Mood: Jolly and Happy</li>
</ul>
<p>There are also many WordPress Plugins in the <a href="http://wordpress.org/extend/plugins/">Official WordPress Plugin Directory</a> that add some nice features to the job of displaying meta tags. A search for <a href="http://www.google.com/search?hl=en&amp;q=custom+fields+plugin+wordpress&amp;btnG=Google+Search">Custom Field plugins at Google</a> should help you find even more. </p>
<p><a name="Advanced_Techniques_for_Custom_Fields"></a></p>
<h4>Advanced Techniques for Custom Fields</h4>
<p>The following are more advanced techniques for getting and customizing meta-data and custom fields. </p>
<p><a name="Getting_Custom_Fields"></a></p>
<h5>Getting Custom Fields</h5>
<p>To fetch meta values use the <tt><a href="http://codex.wordpress.org/Function_Reference/get_post_meta">get_post_meta()</a></tt> function: </p>
<pre> get_post_meta($post_id, $key, $single);</pre>
<ul>
<li><tt>$post_id</tt> is the ID of the post you want the meta values for. Use <tt>$post-&gt;ID</tt> to get a post&#8217;s ID. </li>
<li><tt>$key</tt> is a string containing the name of the meta value you want. </li>
<li><tt>$single</tt> can either be <tt>true</tt> or <tt>false</tt>. If set to true then the function will return a single result, as a <b>string</b>. If false, or not set, then the function returns an <b>array</b> of the custom fields. </li>
</ul>
<p><a name="Implementation_Details"></a></p>
<h6>Implementation Details</h6>
<p>The PostMeta information is stored in a new table, <tt>$wpdb-&gt;postmeta</tt>. This table has four fields: </p>
<dl>
<dd><tt>meta_id</tt>: A unique id for each entry</dd>
<dd><tt>post_id</tt>: The ID of the post for this metadata</dd>
<dd><tt>meta_key</tt>: The name of the &#8216;key&#8217;</dd>
<dd><tt>meta_value</tt>: The value associated with the key</dd>
</dl>
<p>The values from this table are pulled into a structured multi-dimensional array called <tt>$post_meta_cache</tt>, just after the <tt>$posts</tt> array is fetched in <tt>wp-blog-header.php</tt>. This variable will only contain values for the list of posts fetched for the current page build. The structure of the array will look something like this: </p>
<pre> [
   postid1 =&gt; [
     [
       key1 =&gt; [val1, val2, ...],
       key2 =&gt; [val1, val2, ...],
       ...
     ],
   postid2 =&gt; [ ... ],
   ...
 ]</pre>
<p>So, if you wanted to fetch the &quot;reading&quot; values from post number 256, you use this PHP code: </p>
<pre> // Fetch an array of values for what I'm reading:
 $readinglist = $post_meta_cache[256]['reading'];</pre>
<dl>
<dd>Don&#8217;t forget that <tt>$readinglist</tt> will be an array, not a single value. </dd>
<dd>As of WordPress 2.1, $post_meta_cache isn&#8217;t populated anymore. Get the meta values through the functions mentioned below </dd>
</dl>
<p><a name="PostMeta_Functions"></a></p>
<h5>PostMeta Functions</h5>
<p><a name="Internal_Functions"></a></p>
<h6>Internal Functions</h6>
<p>These functions are intended for use inside <a href="http://codex.wordpress.org/The_Loop">The Loop</a>, and all return arrays. </p>
<dl>
<dt><tt><a href="http://codex.wordpress.org/Function_Reference/get_post_custom">get_post_custom()</a></tt></dt>
<dd>Get all key/value data for the current post. </dd>
<dt><tt><a href="http://codex.wordpress.org/Function_Reference/get_post_custom_keys">get_post_custom_keys()</a></tt></dt>
<dd>Get a list of all key names for the current post. </dd>
<dt><tt><a href="http://codex.wordpress.org/Function_Reference/get_post_custom_values">get_post_custom_values($key)</a></tt></dt>
<dd>Get the list of values for a particular key on the current post. </dd>
<dt><tt>get_post_meta($post_id, $key, $single = false)</tt></dt>
<dd>In WP 1.5 and beyond, this function returns the meta information without cache problems. The function requires the post id, the key, and if <tt>$single</tt> is set to TRUE, it returns only the first result (NOT as an array) for PHP use. </dd>
</dl>
<pre>This will output the resulting meta value (notice the addition of &quot;echo&quot;):
&lt;?php $key=&quot;mykey&quot;; echo get_post_meta($post-&gt;ID, $key, true); ?&gt;</pre>
<p><a name="Template_Functions"></a></p>
<h6>Template Functions</h6>
<p>At the time of this writing, there is only one template function. </p>
<dl>
<dt><tt><a href="http://codex.wordpress.org/Template_Tags/the_meta">the_meta()</a></tt></dt>
<dd>Echoes an unordered list containing the current post&#8217;s meta-data with a class for the UL as <i>post-meta</i> and the LI as <i>post-meta-key</i>. </dd>
</dl>
<p>We expect that independent developers will come up with many interesting uses for post meta-data in the form of plugins. The <tt>the_meta()</tt> template function is just an extremely basic example. </p>
<p>At this time, you can only add and delete entries. The ability to modify existing entries will be implemented later. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.server.ruservers.com/2009/03/using-custom-fields-in-worpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to post to Joomla 1.5.3 using Windows Live Writer</title>
		<link>http://blog.server.ruservers.com/2009/03/how-to-post-to-joomla-153-using-windows-live-writer/</link>
		<comments>http://blog.server.ruservers.com/2009/03/how-to-post-to-joomla-153-using-windows-live-writer/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 01:27:55 +0000</pubDate>
		<dc:creator>Ru Servers</dc:creator>
				<category><![CDATA[CMS]]></category>

		<guid isPermaLink="false">http://blog.server.ruservers.com/2009/03/how-to-post-to-joomla-153-using-windows-live-writer/</guid>
		<description><![CDATA[&#160;
Source: 
http://carolinaregion.com/2008/07/23/how-to-post-to-joomla-153-using-windows-live-writer/
&#160;
What you need to make WLW post to Joomla:
There are a few requirements to make this work. Of course you’ll need Joomla running on your server and WLW running on your PC. I’m assuming you know that much already. Here’s the rest:

MetaWeblog API plugin for Joomla      It’s available from: [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>Source: </p>
<p><a title="http://carolinaregion.com/2008/07/23/how-to-post-to-joomla-153-using-windows-live-writer/" href="http://carolinaregion.com/2008/07/23/how-to-post-to-joomla-153-using-windows-live-writer/" target="_blank">http://carolinaregion.com/2008/07/23/how-to-post-to-joomla-153-using-windows-live-writer/</a></p>
<p>&#160;</p>
<h5>What you need to make WLW post to Joomla:</h5>
<p>There are a few requirements to make this work. Of course you’ll need Joomla running on your server and WLW running on your PC. I’m assuming you know that much already. Here’s the rest:</p>
<ol>
<li>MetaWeblog API plugin for Joomla      <br />It’s available from: <a href="http://joomlacode.org/gf/project/metaweblogapi/frs/">http://joomlacode.org/gf/project/metaweblogapi/frs/</a>       <br /><a href="http://blog.server.ruservers.com/wp-content/uploads/2009/03/metaweblogapipluginthumb.png" target="_blank" rel="lightbox[168]"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="metaweblogapiplugin-thumb" border="0" alt="metaweblogapiplugin-thumb" src="http://blog.server.ruservers.com/wp-content/uploads/2009/03/metaweblogapipluginthumb-thumb.png" width="504" height="79" /></a>       <br />Right click on metaweblog.zip and download the zip file to your PC. </li>
<li>RealSimpleDiscovery Plugin for Joomla (RSD)      <br />It’s available from: <a href="http://joomlacode.org/gf/project/rsd/frs/">http://joomlacode.org/gf/project/rsd/frs/</a>       <br /><a href="http://blog.server.ruservers.com/wp-content/uploads/2009/03/realsimplediscoverythumb.png" target="_blank" rel="lightbox[168]"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="realsimplediscovery-thumb" border="0" alt="realsimplediscovery-thumb" src="http://blog.server.ruservers.com/wp-content/uploads/2009/03/realsimplediscoverythumb-thumb.png" width="504" height="72" /></a>       <br />Right click on rsd.jpb and download the zip file to your PC. </li>
</ol>
<h5>Instructions for Installing the Plugins in your back-end Admin.</h5>
<p>Log into your Joomla Admin panel and go to&#160; Extensions –&gt; Install/Uninstall.</p>
<p><a href="http://blog.server.ruservers.com/wp-content/uploads/2009/03/adminmenuthumb.png" target="_blank" rel="lightbox[168]"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="adminmenu-thumb" border="0" alt="adminmenu-thumb" src="http://blog.server.ruservers.com/wp-content/uploads/2009/03/adminmenuthumb-thumb.png" width="504" height="169" /></a> </p>
<p>Click “Browse” and then choose the zip files you just uploaded. It doesn’t matter which order you upload them in. You need to upload the MetaWeblog module and the RSD module.</p>
<p><a href="http://blog.server.ruservers.com/wp-content/uploads/2009/03/installscreenthumb.png" target="_blank" rel="lightbox[168]"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="installscreen-thumb" border="0" alt="installscreen-thumb" src="http://blog.server.ruservers.com/wp-content/uploads/2009/03/installscreenthumb-thumb.png" width="504" height="312" /></a> </p>
<p>Go to your Plugin Manager and<strong> enable</strong> the MetaWeblog Plugin and <strong>disable</strong> the Blogger API that came with your Joomla installation. (Extensions –&gt; Plugin Manager)</p>
<p><a href="http://blog.server.ruservers.com/wp-content/uploads/2009/03/meta1thumb.png" target="_blank" rel="lightbox[168]"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="meta1-thumb" border="0" alt="meta1-thumb" src="http://blog.server.ruservers.com/wp-content/uploads/2009/03/meta1thumb-thumb.png" width="504" height="106" /></a> </p>
<p>While you’re there, also enable the RSD plugin. (If it’s hard to find, that’s because it’s called System – Real Simple Discovery (RSD). </p>
<p><a href="http://blog.server.ruservers.com/wp-content/uploads/2009/03/meta2thumb.png" target="_blank" rel="lightbox[168]"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="meta2-thumb" border="0" alt="meta2-thumb" src="http://blog.server.ruservers.com/wp-content/uploads/2009/03/meta2thumb-thumb.png" width="504" height="104" /></a> </p>
<h5>Enable Web Services</h5>
<p>Go to your Global Configuration and choose “yes” to the “Enable Web Services option, which is defaulted to “no.”</p>
<p>This is located under Global Configuration –&gt; System –&gt;System Settings</p>
<p><a href="http://blog.server.ruservers.com/wp-content/uploads/2009/03/enablewebthumb.png" target="_blank" rel="lightbox[168]"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="enableweb-thumb" border="0" alt="enableweb-thumb" src="http://blog.server.ruservers.com/wp-content/uploads/2009/03/enablewebthumb-thumb.png" width="504" height="252" /></a> </p>
<p>Now, you’ve finished the Joomla end of the instructions. Now go open Windows Live Writer and let’s create a new Weblog.</p>
<h5>Setting up Windows Live Writer to Talk to Joomla</h5>
<ol>
<li>Open WLW and create a new blog account. </li>
<li>Choose “Another Weblog Service” and press next. </li>
<li>Enter your joomla web site address, your username, and your password. </li>
</ol>
<p>That’s it!</p>
<p>Now, maybe your auto-configuration didn’t work and you need to enter the variables manually. It’s ok, no problem. On the next screen, under type of blog, <strong>be sure you choose MetaWeblog API</strong>, then enter your XML-RPC url, which will be http://yoursite.com/xmlrpc/index.php.</p>
<p>Now it should work.</p>
<h5>Things you should know</h5>
<ul>
<li>You MUST be an admin to post on the site automatically. If you are only a Registered User, Editor, or Publisher, the article will still be posted but will await approval by a moderator before being published publicly. If you ‘re not getting any errors, but aren’t seeing your posts, this might be why. </li>
<li>You must choose the category for your post, or else Joomla will assign is as “uncategorized” which means it gets treated as a static page. Choose the category from the lower left side of the WLW screen.      <br /><a href="http://blog.server.ruservers.com/wp-content/uploads/2009/03/setthumb.png" target="_blank" rel="lightbox[168]"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="set-thumb" border="0" alt="set-thumb" src="http://blog.server.ruservers.com/wp-content/uploads/2009/03/setthumb-thumb.png" width="221" height="77" /></a> </li>
<li>If you can’t publish, check to make sure your plugins are enabled properly. If they ARE, and you type http://yoursite.com/xmlrpc/index.php into your browser, you should see something similar to this screen:      <br /><a href="http://blog.server.ruservers.com/wp-content/uploads/2009/03/shouldseethumb.png" target="_blank" rel="lightbox[168]"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="shouldsee-thumb" border="0" alt="shouldsee-thumb" src="http://blog.server.ruservers.com/wp-content/uploads/2009/03/shouldseethumb-thumb.png" width="504" height="400" /></a> </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.server.ruservers.com/2009/03/how-to-post-to-joomla-153-using-windows-live-writer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Commands: Move or rename files or directories</title>
		<link>http://blog.server.ruservers.com/2009/03/linux-commands-move-or-rename-files-or-directories/</link>
		<comments>http://blog.server.ruservers.com/2009/03/linux-commands-move-or-rename-files-or-directories/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 22:30:22 +0000</pubDate>
		<dc:creator>Ru Servers</dc:creator>
				<category><![CDATA[Linux Commands]]></category>

		<guid isPermaLink="false">http://blog.server.ruservers.com/2009/03/linux-commands-move-or-rename-files-or-directories/</guid>
		<description><![CDATA[&#160;
Source: http://webtools.live2support.com/linux/mv.php
&#160;
mv-Linux Command
&#160;
mv
Move or rename files or directories.
SYNTAX
      mv [options]... Source Dest

      mv [options]... Source... Directory
If the last argument names an existing directory, `mv&#8217; moves each other given file into a file with the same name in that directory. Otherwise, if only two files are [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>Source: <a title="http://webtools.live2support.com/linux/mv.php" href="http://webtools.live2support.com/linux/mv.php" target="_blank">http://webtools.live2support.com/linux/mv.php</a></p>
<p>&#160;</p>
<h3><b>mv-Linux Command</b></h3>
<p>&#160;</p>
<p>mv</p>
<p>Move or rename files or directories.</p>
<pre>SYNTAX
      mv [<em>options</em>]... <em>Source</em> <em>Dest</em>

      mv [<em>options</em>]... <em>Source</em>... <em>Directory</em></pre>
<p>If the last argument names an existing directory, `mv&#8217; moves each other given file into a file with the same name in that directory. Otherwise, if only two files are given, it renames the first as the second. It is an error if the last argument is not a directory and more than two files are given.</p>
<pre>OPTIONS  

-b
--backup
     Make a backup of each file that would otherwise be overwritten or
     removed.

-f
--force
     Remove existing destination files and never prompt the user.

-i
--interactive
     Prompt whether to overwrite each existing destination file,
     regardless of its permissions.  If the response does not begin
     with `y' or `Y', the file is skipped.

-S <em>SUFFIX</em>
--suffix=<em>SUFFIX</em>
     Append <em>SUFFIX</em> to each backup file made with `-b'.
     The backup suffix is ~, unless set with SIMPLE_BACKUP_SUFFIX.

-u
--update
     Do not move a nondirectory that has an existing destination with
     the same or newer modification time.

-v
--verbose
     Print the name of each file before moving it.

-V <em>METHOD</em>
--version-control=<em>METHOD</em>'
     Change the type of backups made with `-b'. METHOD can be:

       t, numbered     make numbered backups
       nil, existing   numbered if numbered backups exist, simple otherwise
       never, simple   always make simple backups

 --help                   display help and exit
 --version                output version information and exit

<strong></strong></pre>
<h4>Examples</h4>
<pre><strong></strong>

Rename the file apple as orange.doc:
mv apple orange.doc

Move orange.doc to the Documents folder:
mv orange.doc ~/Documents/orange.doc

Rename a bunch of file extensions
e.g. change *.txt into *.htm
  for f in *.txt; do mv ./&quot;$f&quot; &quot;${f%txt}htm&quot;; done</pre>
<p>`mv&#8217; can move only regular files across filesystems.<br />
  <br />If a destination file exists but is normally unwritable, standard input is a terminal, and the `-f&#8217; or `&#8211;force&#8217; option is not given, `mv&#8217; prompts the user for whether to replace the file. (You might own the file, or have write permission on its directory.) If the response does not begin with `y&#8217; or `Y&#8217;, the file is skipped.</p>
<p><b>Related Linux Bash commands</b>:</p>
<p><a href="http://blog.server.ruservers.com/2009/01/linux-unix-copy-command/">cp</a> &#8211; Copy one or more files to another location</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.server.ruservers.com/2009/03/linux-commands-move-or-rename-files-or-directories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I change the name servers for my domain name?</title>
		<link>http://blog.server.ruservers.com/2009/02/how-do-i-change-the-name-servers-for-my-domain-name/</link>
		<comments>http://blog.server.ruservers.com/2009/02/how-do-i-change-the-name-servers-for-my-domain-name/#comments</comments>
		<pubDate>Sat, 21 Feb 2009 06:08:36 +0000</pubDate>
		<dc:creator>Ru Servers</dc:creator>
				<category><![CDATA[How To]]></category>

		<guid isPermaLink="false">http://blog.server.ruservers.com/2009/02/how-do-i-change-the-name-servers-for-my-domain-name/</guid>
		<description><![CDATA[&#160;
Source: http://help.yahoo.com/l/us/yahoo/smallbusiness/domains/domainfeatures/advanceddns/advanceddns-12.html
&#160;
The service you purchased may include such features as domain forwarding, email, and a web site. Replacing Yahoo!&#8217;s name servers will render these features inactive. However, changing your name servers will not automatically cancel your service. You will continue to manage your WHOIS contact information through Yahoo!, and Yahoo! will continue to renew your [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>Source: <a title="http://help.yahoo.com/l/us/yahoo/smallbusiness/domains/domainfeatures/advanceddns/advanceddns-12.html" href="http://help.yahoo.com/l/us/yahoo/smallbusiness/domains/domainfeatures/advanceddns/advanceddns-12.html" target="_blank">http://help.yahoo.com/l/us/yahoo/smallbusiness/domains/domainfeatures/advanceddns/advanceddns-12.html</a></p>
<p>&#160;</p>
<p>The service you purchased may include such features as domain forwarding, email, and a web site. Replacing Yahoo!&#8217;s name servers will render these features inactive. However, changing your name servers will not automatically cancel your service. You will continue to manage your WHOIS contact information through Yahoo!, and Yahoo! will continue to renew your annual domain registration.</p>
<p>Please note: Any changes that you make to your advanced DNS settings can interrupt your service. If you are not an advanced user, we strongly recommend that you not change these settings.</p>
<p>You can change your name servers using the &quot;Change Name Servers&quot; area of your Domain Control Panel.</p>
<p>To access the Domain Control Panel:</p>
<ol>
<li>Sign in to your <a href="http://smallbusiness.yahoo.com/services/">Business Control Panel</a>. (If you have not yet signed in with your Yahoo! ID and password, you&#8217;ll be prompted to do so here.) </li>
<li>Once signed in, you will see modules for each of your domain names on the &quot;Manage My Services&quot; page. Select the &quot;Domain Control Panel&quot; link that corresponds to the domain whose record you wish to edit. </li>
</ol>
<p>To change name servers:</p>
<ol>
<li>Click the &quot;Manage Advanced DNS Settings&quot; link on your Domain Control Panel. </li>
<li>Click the &quot;Change Name Servers&quot; button. </li>
<li>Do one of the following:
<ul>
<li>Enter additional name server host names in the &quot;Additional&quot; fields. </li>
<li>Replace the primary and secondary name server host names with those of your new domain name host. (You may not need to enter the IP addresses of the name servers. In most cases, only the host name of the name servers is required.) </li>
</ul>
</li>
<li>Click the &quot;Submit&quot; button. </li>
</ol>
<p>You&#8217;ll return to the &quot;Advanced DNS Settings&quot; page, and your new name server will appear in the name servers list. While your changes will appear in the name servers within minutes, please be aware that it can take up to 72 hours for new records to propagate to all name servers on the Internet.</p>
<p>You can restore your name servers to their default settings on the &quot;Advanced DNS Settings&quot; page.</p>
<p>To restore name servers to their default settings:</p>
<ol>
<li>Click the &quot;Manage Advanced DNS Settings&quot; link on your Domain Control Panel. </li>
<li>In the name servers section, click the &quot;Reset to Default&quot; button. </li>
<li>Confirm your choice by clicking &quot;Reset to Default.&quot; </li>
</ol>
<p>You&#8217;ll return to the &quot;Advanced DNS Settings&quot; page, and your name servers will have been restored to Yahoo!&#8217;s default settings. While your changes will appear in the name servers within minutes, please be aware that it can take up to 72 hours for new records to propagate to all name servers on the Internet.</p>
<p>Tip: If you decide to change your name servers, and you currently pay for a service other than Yahoo! Domains, you may want to consider downgrading your plan so as not to pay for services you have rendered inactive.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.server.ruservers.com/2009/02/how-do-i-change-the-name-servers-for-my-domain-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux / Unix Command: unzip</title>
		<link>http://blog.server.ruservers.com/2009/02/linux-unix-command-unzip/</link>
		<comments>http://blog.server.ruservers.com/2009/02/linux-unix-command-unzip/#comments</comments>
		<pubDate>Sat, 21 Feb 2009 04:58:57 +0000</pubDate>
		<dc:creator>Ru Servers</dc:creator>
				<category><![CDATA[Linux Commands]]></category>

		<guid isPermaLink="false">http://blog.server.ruservers.com/2009/02/linux-unix-command-unzip/</guid>
		<description><![CDATA[&#160;
Source: http://linux.about.com/od/commands/l/blcmdl1_unzip.htm
&#160;
NAME
unzip &#8211; list, test and extract compressed files in a ZIP archive
unzip [-Z] [-cflptuvz[abjnoqsCLMVX$/:]] file[.zip] [file(s) ...] [-x xfile(s) ...] [-d exdir] 
DESCRIPTION
unzip will list, test, or extract files from a ZIP archive, commonly found on MS-DOS systems. The default behavior (with no options) is to extract into the current directory (and subdirectories below [...]]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>Source: <a title="http://linux.about.com/od/commands/l/blcmdl1_unzip.htm" href="http://linux.about.com/od/commands/l/blcmdl1_unzip.htm" target="_blank">http://linux.about.com/od/commands/l/blcmdl1_unzip.htm</a></p>
<p>&#160;</p>
<h4>NAME</h4>
<p>unzip &#8211; list, test and extract compressed files in a ZIP archive</p>
<p><b>unzip</b> [<b>-Z</b>] [<b>-cflptuvz</b>[<b>abjnoqsCLMVX$/:</b>]] <i>file</i>[<i>.zip</i>] [<i>file(s)</i> ...] [<b>-x</b> <i>xfile(s)</i> ...] [<b>-d</b> <i>exdir</i>] <a name="lbAD"></a></p>
<h4>DESCRIPTION</h4>
<p><i>unzip</i> will list, test, or extract files from a ZIP archive, commonly found on MS-DOS systems. The default behavior (with no options) is to extract into the current directory (and subdirectories below it) all files from the specified ZIP archive. A companion program, <i><a href="http://linux.about.com/od/commands/l/blcmdl1_zip.htm">zip</a></i>(1L), creates ZIP archives; both programs are compatible with archives created by PKWARE&#8217;s <i>PKZIP</i> and <i>PKUNZIP</i> for MS-DOS, but in many cases the program options or default behaviors differ.</p>
<h4>ARGUMENTS</h4>
<dl compact="compact">
<dt><i>file</i>[<i>.zip</i>] </dt>
<dd>Path of the ZIP archive(s). If the file specification is a wildcard, each matching file is processed in an order determined by the operating system (or file system). Only the filename can be a wildcard; the path itself cannot. Wildcard expressions are similar to those supported in commonly used Unix shells (<i>sh</i>, <i>ksh</i>, <i>csh</i>) and may contain:
<dl compact="compact">
<dt></dt>
<dd>
<dl compact="compact">
<dt>* </dt>
<dd>matches a sequence of 0 or more characters </dd>
<dt>? </dt>
<dd>matches exactly 1 character </dd>
<dt>[...] </dt>
<dd>matches any single character found inside the brackets; ranges are specified by a beginning character, a hyphen, and an ending character. If an exclamation point or a caret (`!&#8217; or `^&#8217;) follows the left bracket, then the range of characters within the brackets is complemented (that is, anything <i>except</i> the characters inside the brackets is considered a match). </dd>
</dl>
</dd>
</dl>
</dd>
<dt></dt>
<dd>(Be sure to quote any character that might otherwise be interpreted or modified by the operating system, particularly under Unix and VMS.) If no matches are found, the specification is assumed to be a literal filename; and if that also fails, the suffix .zip is appended. Note that self-extracting ZIP files are supported, as with any other ZIP archive; just specify the .exe suffix (if any) explicitly. </dd>
<dt>[<i>file(s)</i>] </dt>
<dd>An optional list of archive members to be processed, separated by spaces. (VMS versions compiled with VMSCLI defined must delimit files with commas instead. See <b>-v</b> in <b>OPTIONS</b> below.) Regular expressions (wildcards) may be used to match multiple members; see above. Again, be sure to quote expressions that would otherwise be expanded or modified by the operating system. </dd>
<dt>[<b>-x</b> <i>xfile(s)</i>] </dt>
<dd>An optional list of archive members to be excluded from processing. Since wildcard characters match directory separators (`/&#8217;), this option may be used to exclude any files that are in subdirectories. For example, &#8220;unzip foo *.[ch] -x */*&#8221; would extract all C source files in the main directory, but none in any subdirectories. Without the <b>-x</b> option, all C source files in all directories within the zipfile would be extracted. </dd>
<dt>[<b>-d</b> <i>exdir</i>] </dt>
<dd>An optional directory to which to extract files. By default, all files and subdirectories are recreated in the current directory; the <b>-d</b> option allows extraction in an arbitrary directory (always assuming one has permission to write to the directory). This option need not appear at the end of the command line; it is also accepted before the zipfile specification (with the normal options), immediately after the zipfile specification, or between the <i>file(s)</i> and the <b>-x</b> option. The option and directory may be concatenated without any white space between them, but note that this may cause normal shell behavior to be suppressed. In particular, &#8220;-d ~&#8221; (tilde) is expanded by Unix C shells into the name of the user&#8217;s home directory, but &#8220;-d~&#8221; is treated as a literal subdirectory &#8220;<b>~</b>&#8221; of the current directory. </dd>
</dl>
<p><a name="lbAF"></a><br />
<h4>OPTIONS</h4>
<p> Note that, in order to support obsolescent hardware, <i>unzip</i>&#8217;s usage screen is limited to 22 or 23 lines and should therefore be considered only a reminder of the basic <i>unzip</i> syntax rather than an exhaustive list of all possible flags. The exhaustive list follows:
<dl compact="compact">
<dt><b>-Z</b></dt>
<dd><i><a href="http://linux.about.com/library/cmd/blcmdl1L_zipinfo.htm">zipinfo</a></i>(1L) mode. If the first option on the command line is <b>-Z</b>, the remaining options are taken to be <i><a href="http://linux.about.com/library/cmd/blcmdl1L_zipinfo.htm">zipinfo</a></i>(1L) options. See the appropriate manual page for a description of these options. </dd>
<dt><b>-A</b></dt>
<dd>[OS/2, Unix DLL] print extended help for the DLL&#8217;s programming interface (API). </dd>
<dt><b>-c</b></dt>
<dd>extract files to stdout/screen (&#8220;CRT&#8221;). This option is similar to the <b>-p</b> option except that the name of each file is printed as it is extracted, the <b>-a</b> option is allowed, and ASCII-EBCDIC conversion is automatically performed if appropriate. This option is not listed in the <i>unzip</i> usage screen. </dd>
<dt><b>-f</b></dt>
<dd>freshen existing files, i.e., extract only those files that already exist on disk and that are newer than the disk copies. By default <i>unzip</i> queries before overwriting, but the <b>-o</b> option may be used to suppress the queries. Note that under many operating systems, the TZ (timezone) environment variable must be set correctly in order for <b>-f</b> and <b>-u</b> to work properly (under Unix the variable is usually set automatically). The reasons for this are somewhat subtle but have to do with the differences between DOS-format file times (always local time) and Unix-format times (always in GMT/UTC) and the necessity to compare the two. A typical TZ value is &#8220;PST8PDT&#8221; (US Pacific time with automatic adjustment for Daylight Savings Time or &#8220;summer time&#8221;). </dd>
<dt><b>-l</b></dt>
<dd>list archive files (short format). The names, uncompressed file sizes and modification dates and times of the specified files are printed, along with totals for all files specified. If UnZip was compiled with OS2_EAS defined, the <b>-l</b> option also lists columns for the sizes of stored OS/2 extended attributes (EAs) and OS/2 access control lists (ACLs). In addition, the zipfile comment and individual file comments (if any) are displayed. If a file was archived from a single-case file system (for example, the old MS-DOS FAT file system) and the <b>-L</b> option was given, the filename is converted to lowercase and is prefixed with a caret (^). </dd>
<dt><b>-p</b></dt>
<dd>extract files to pipe (stdout). Nothing but the file data is sent to stdout, and the files are always extracted in binary format, just as they are stored (no conversions). </dd>
<dt><b>-t</b></dt>
<dd>test archive files. This option extracts each specified file in memory and compares the CRC (cyclic redundancy check, an enhanced checksum) of the expanded file with the original file&#8217;s stored CRC value. </dd>
<dt><b>-T</b></dt>
<dd>[most OSes] set the timestamp on the archive(s) to that of the newest file in each one. This corresponds to <i>zip</i>&#8217;s <b>-go</b> option except that it can be used on wildcard zipfiles (e.g., &#8220;unzip -T \*.zip&#8221;) and is much faster. </dd>
<dt><b>-u</b></dt>
<dd>update existing files and create new ones if needed. This option performs the same function as the <b>-f</b> option, extracting (with query) files that are newer than those with the same name on disk, and in addition it extracts those files that do not already exist on disk. See <b>-f</b> above for information on setting the timezone properly. </dd>
<dt><b>-v</b></dt>
<dd>be verbose or print diagnostic version info. This option has evolved and now behaves as both an option and a modifier. As an option it has two purposes: when a zipfile is specified with no other options, <b>-v</b> lists archive files verbosely, adding to the basic <b>-l</b> info the compression method, compressed size, compression ratio and 32-bit CRC. When no zipfile is specified (that is, the complete command is simply &#8220;unzip -v&#8221;), a diagnostic screen is printed. In addition to the normal header with release date and version, <i>unzip</i> lists the home Info-ZIP ftp site and where to find a list of other ftp and non-ftp sites; the target operating system for which it was compiled, as well as (possibly) the hardware on which it was compiled, the compiler and version used, and the compilation date; any special compilation options that might affect the program&#8217;s operation (see also <b>DECRYPTION</b> below); and any options stored in environment variables that might do the same (see <b>ENVIRONMENT OPTIONS</b> below). As a modifier it works in conjunction with other options (e.g., <b>-t</b>) to produce more verbose or debugging output; this is not yet fully implemented but will be in future releases. </dd>
<dt><b>-z</b></dt>
<dd>display only the archive comment. </dd>
</dl>
<p><a name="lbAG"></a><br />
<h4>MODIFIERS</h4>
<dl compact="compact">
<dt><b>-a</b></dt>
<dd>convert text files. Ordinarily all files are extracted exactly as they are stored (as &#8220;binary&#8221; files). The <b>-a</b> option causes files identified by <i>zip</i> as text files (those with the `t&#8217; label in <i>zipinfo</i> listings, rather than `b&#8217;) to be automatically extracted as such, converting line endings, end-of-file characters and the character set itself as necessary. (For example, Unix files use line feeds (LFs) for end-of-line (EOL) and have no end-of-file (EOF) marker; Macintoshes use carriage returns (CRs) for EOLs; and most PC operating systems use CR+LF for EOLs and control-Z for EOF. In addition, IBM mainframes and the Michigan Terminal System use EBCDIC rather than the more common ASCII character set, and NT supports Unicode.) Note that <i>zip</i>&#8217;s identification of text files is by no means perfect; some &#8220;text&#8221; files may actually be binary and vice versa. <i>unzip</i> therefore prints &#8220;[text]&#8221; or &#8220;[binary]&#8221; as a visual check for each file it extracts when using the <b>-a</b> option. The <b>-aa</b> option forces all files to be extracted as text, regardless of the supposed file type. </dd>
<dt><b>-b</b></dt>
<dd>[general] treat all files as binary (no text conversions). This is a shortcut for <b>&#8212;a</b>. </dd>
<dt><b>-b</b></dt>
<dd>[Tandem] force the creation files with filecode type 180 (&#8216;C&#8217;) when extracting Zip entries marked as &quot;text&quot;. (On Tandem, <b>-a</b> is enabled by default, see above). </dd>
<dt><b>-b</b></dt>
<dd>[VMS] auto-convert binary files (see <b>-a</b> above) to fixed-length, 512-byte record format. Doubling the option (<b>-bb</b>) forces all files to be extracted in this format. When extracting to standard output (<b>-c</b> or <b>-p</b> option in effect), the default conversion of text record delimiters is disabled for binary (<b>-b</b>) resp. all (<b>-bb</b>) files. </dd>
<dt><b>-B</b></dt>
<dd>[Unix only, and only if compiled with UNIXBACKUP defined] save a backup copy of each overwritten file with a tilde appended (e.g., the old copy of &#8220;foo&#8221; is renamed to &#8220;foo~&#8221;). This is similar to the default behavior of <i><a href="http://linux.about.com/library/cmd/blcmdl1_emacs.htm">emacs</a></i>(1) in many locations. </dd>
<dt><b>-C</b></dt>
<dd>match filenames case-insensitively. <i>unzip</i>&#8217;s philosophy is &#8220;you get what you ask for&#8221; (this is also responsible for the <b>-L</b>/<b>-U</b> change; see the relevant options below). Because some file systems are fully case-sensitive (notably those under the Unix operating system) and because both ZIP archives and <i>unzip</i> itself are portable across platforms, <i>unzip</i>&#8217;s default behavior is to match both wildcard and literal filenames case-sensitively. That is, specifying &#8220;makefile&#8221; on the command line will <i>only</i> match &#8220;makefile&#8221; in the archive, not &#8220;Makefile&#8221; or &#8220;MAKEFILE&#8221; (and similarly for wildcard specifications). Since this does not correspond to the behavior of many other operating/file systems (for example, OS/2 HPFS, which preserves mixed case but is not sensitive to it), the <b>-C</b> option may be used to force all filename matches to be case-insensitive. In the example above, all three files would then match &#8220;makefile&#8221; (or &#8220;make*&#8221;, or similar). The <b>-C</b> option affects files in both the normal file list and the excluded-file list (xlist). </dd>
<dt><b>-E</b></dt>
<dd>[MacOS only] display contents of MacOS extra field during restore operation. </dd>
<dt><b>-F</b></dt>
<dd>[Acorn only] suppress removal of NFS filetype extension from stored filenames. </dd>
<dt><b>-F</b></dt>
<dd>[non-Acorn systems supporting long filenames with embedded commas, and only if compiled with ACORN_FTYPE_NFS defined] translate filetype information from ACORN RISC OS extra field blocks into a NFS filetype extension and append it to the names of the extracted files. (When the stored filename appears to already have an appended NFS filetype extension, it is replaced by the info from the extra field.) </dd>
<dt><b>-i</b></dt>
<dd>[MacOS only] ignore filenames stored in MacOS extra fields. Instead, the most compatible filename stored in the generic part of the entry&#8217;s header is used. </dd>
<dt><b>-j</b></dt>
<dd>junk paths. The archive&#8217;s directory structure is not recreated; all files are deposited in the extraction directory (by default, the current one). </dd>
<dt><b>-J</b></dt>
<dd>[BeOS only] junk file attributes. The file&#8217;s BeOS file attributes are not restored, just the file&#8217;s data. </dd>
<dt><b>-J</b></dt>
<dd>[MacOS only] ignore MacOS extra fields. All Macintosh specific info is skipped. Data-fork and resource-fork are restored as separate files. </dd>
<dt><b>-L</b></dt>
<dd>convert to lowercase any filename originating on an uppercase-only operating system or file system. (This was <i>unzip</i>&#8217;s default behavior in releases prior to 5.11; the new default behavior is identical to the old behavior with the <b>-U</b> option, which is now obsolete and will be removed in a future release.) Depending on the archiver, files archived under single-case file systems (VMS, old MS-DOS FAT, etc.) may be stored as all-uppercase names; this can be ugly or inconvenient when extracting to a case-preserving file system such as OS/2 HPFS or a case-sensitive one such as under Unix. By default <i>unzip</i> lists and extracts such filenames exactly as they&#8217;re stored (excepting truncation, conversion of unsupported characters, etc.); this option causes the names of all files from certain systems to be converted to lowercase. The <b>-LL</b> option forces conversion of every filename to lowercase, regardless of the originating file system. </dd>
<dt><b>-M</b></dt>
<dd>pipe all output through an internal pager similar to the Unix <i><a href="http://linux.about.com/library/cmd/blcmdl1_more.htm">more</a></i>(1) command. At the end of a screenful of output, <i>unzip</i> pauses with a &#8220;&#8211;More&#8211;&#8221; prompt; the next screenful may be viewed by pressing the Enter (Return) key or the space bar. <i>unzip</i> can be terminated by pressing the &#8220;q&#8221; key and, on some systems, the Enter/Return key. Unlike Unix <i><a href="http://linux.about.com/library/cmd/blcmdl1_more.htm">more</a></i>(1), there is no forward-searching or editing capability. Also, <i>unzip</i> doesn&#8217;t notice if long lines wrap at the edge of the screen, effectively resulting in the printing of two or more lines and the likelihood that some text will scroll off the top of the screen before being viewed. On some systems the number of available lines on the screen is not detected, in which case <i>unzip</i> assumes the height is 24 lines. </dd>
<dt><b>-n</b></dt>
<dd>never overwrite existing files. If a file already exists, skip the extraction of that file without prompting. By default <i>unzip</i> queries before extracting any file that already exists; the user may choose to overwrite only the current file, overwrite all files, skip extraction of the current file, skip extraction of all existing files, or rename the current file. </dd>
<dt><b>-N</b></dt>
<dd>[Amiga] extract file comments as Amiga filenotes. File comments are created with the -c option of <i><a href="http://linux.about.com/od/commands/l/blcmdl1_zip.htm">zip</a></i>(1L), or with the -N option of the Amiga port of <i><a href="http://linux.about.com/od/commands/l/blcmdl1_zip.htm">zip</a></i>(1L), which stores filenotes as comments. </dd>
<dt><b>-o</b></dt>
<dd>overwrite existing files without prompting. This is a dangerous option, so use it with care. (It is often used with <b>-f</b>, however, and is the only way to overwrite directory EAs under OS/2.) </dd>
<dt><b>-P</b> <i>password</i></dt>
<dd>use <i>password</i> to decrypt encrypted zipfile entries (if any). <b>THIS IS INSECURE!</b> Many multi-user operating systems provide ways for any user to see the current command line of any other user; even on stand-alone systems there is always the threat of over-the-shoulder peeking. Storing the plaintext password as part of a command line in an automated script is even worse. Whenever possible, use the non-echoing, interactive prompt to enter passwords. (And where security is truly important, use strong encryption such as Pretty Good Privacy instead of the relatively weak encryption provided by standard zipfile utilities.) </dd>
<dt><b>-q</b></dt>
<dd>perform operations quietly (<b>-qq</b> = even quieter). Ordinarily <i>unzip</i> prints the names of the files it&#8217;s extracting or testing, the extraction methods, any file or zipfile comments that may be stored in the archive, and possibly a summary when finished with each archive. The <b>-q</b>[<b>q</b>] options suppress the printing of some or all of these messages. </dd>
<dt><b>-s</b></dt>
<dd>[OS/2, NT, MS-DOS] convert spaces in filenames to underscores. Since all PC operating systems allow spaces in filenames, <i>unzip</i> by default extracts filenames with spaces intact (e.g., &#8220;EA DATA. SF&#8221;). This can be awkward, however, since MS-DOS in particular does not gracefully support spaces in filenames. Conversion of spaces to underscores can eliminate the awkwardness in some cases. </dd>
<dt><b>-U</b></dt>
<dd>(obsolete; to be removed in a future release) leave filenames uppercase if created under MS-DOS, VMS, etc. See <b>-L</b> above. </dd>
<dt><b>-V</b></dt>
<dd>retain (VMS) file version numbers. VMS files can be stored with a version number, in the format file.ext;##. By default the &#8220;;##&#8221; version numbers are stripped, but this option allows them to be retained. (On file systems that limit filenames to particularly short lengths, the version numbers may be truncated or stripped regardless of this option.) </dd>
<dt><b>-X</b></dt>
<dd>[VMS, Unix, OS/2, NT] restore owner/protection info (UICs) under VMS, or user and group info (UID/GID) under Unix, or access control lists (ACLs) under certain network-enabled versions of OS/2 (Warp Server with IBM LAN Server/Requester 3.0 to 5.0; Warp Connect with IBM Peer 1.0), or security ACLs under Windows NT. In most cases this will require special system privileges, and doubling the option (<b>-XX</b>) under NT instructs <i>unzip</i> to use privileges for extraction; but under Unix, for example, a user who belongs to several groups can restore files owned by any of those groups, as long as the user IDs match his or her own. Note that ordinary file attributes are always restored&#8211;this option applies only to optional, extra ownership info available on some operating systems. [NT's access control lists do not appear to be especially compatible with OS/2's, so no attempt is made at cross-platform portability of access privileges. It is not clear under what conditions this would ever be useful anyway.] </dd>
<dt><b>-$</b></dt>
<dd>[MS-DOS, OS/2, NT] restore the volume label if the extraction medium is removable (e.g., a diskette). Doubling the option (<b>-$$</b>) allows fixed media (hard disks) to be labelled as well. By default, volume labels are ignored. </dd>
<dt><b>-/</b> <i>extensions</i></dt>
<dd>[Acorn only] overrides the extension list supplied by Unzip$Ext environment variable. During extraction, filename extensions that match one of the items in this extension list are swapped in front of the base name of the extracted file. </dd>
<dt><b>-:</b></dt>
<dd>[all but Acorn, VM/CMS, MVS, Tandem] allows to extract archive members into locations outside of the current &#8220; extraction root folder&#8221;. For security reasons, <i>unzip</i> normally removes &#8220;parent dir&#8221; path components (&#8220;../&#8221;) from the names of extracted file. This safety feature (new for version 5.50) prevents <i>unzip</i> from accidentally writing files to &#8220;sensitive&#8221; areas outside the active extraction folder tree head. The <b>-:</b> option lets <i>unzip</i> switch back to its previous, more liberal behaviour, to allow exact extraction of (older) archives that used &#8220;../&#8221; components to create multiple directory trees at the level of the current extraction folder. </dd>
</dl>
<p><a name="lbAH"></a><br />
<h4>ENVIRONMENT OPTIONS</h4>
<p> <i>unzip</i>&#8217;s default behavior may be modified via options placed in an environment variable. This can be done with any option, but it is probably most useful with the <b>-a</b>, <b>-L</b>, <b>-C</b>, <b>-q</b>, <b>-o</b>, or <b>-n</b> modifiers: make <i>unzip</i> auto-convert text files by default, make it convert filenames from uppercase systems to lowercase, make it match names case-insensitively, make it quieter, or make it always overwrite or never overwrite files as it extracts them. For example, to make <i>unzip</i> act as quietly as possible, only reporting errors, one would use one of the following commands:
<dl compact="compact">
<dt>Unix Bourne shell: </dt>
<dd>UNZIP=-qq; export UNZIP </dd>
<dt>Unix C shell: </dt>
<dd>setenv UNZIP -qq </dd>
<dt>OS/2 or MS-DOS: </dt>
<dd>set UNZIP=-qq </dd>
<dt>VMS (quotes for <i>lowercase</i>): </dt>
<dd>define UNZIP_OPTS &quot;&quot;-qq&quot;&quot; </dd>
</dl>
<p>Environment options are, in effect, considered to be just like any other command-line options, except that they are effectively the first options on the command line. To override an environment option, one may use the &#8220;minus operator&#8221; to remove it. For instance, to override one of the quiet-flags in the example above, use the command </p>
<pre>unzip --q[<i>other options</i>] zipfile</pre>
<p>The first hyphen is the normal switch character, and the second is a minus sign, acting on the q option. Thus the effect here is to cancel one quantum of quietness. To cancel both quiet flags, two (or more) minuses may be used: </p>
<pre>unzip -t--q zipfile
unzip ---qt zipfile</pre>
<p>(the two are equivalent). This may seem awkward or confusing, but it is reasonably intuitive: just ignore the first hyphen and go from there. It is also consistent with the behavior of Unix <i><a href="http://linux.about.com/library/cmd/blcmdl1_nice.htm">nice</a></i>(1). </p>
<p>As suggested by the examples above, the default variable names are UNZIP_OPTS for VMS (where the symbol used to install <i>unzip</i> as a foreign command would otherwise be confused with the environment variable), and UNZIP for all other operating systems. For compatibility with <i><a href="http://linux.about.com/od/commands/l/blcmdl1_zip.htm">zip</a></i>(1L), UNZIPOPT is also accepted (don&#8217;t ask). If both UNZIP and UNZIPOPT are defined, however, UNZIP takes precedence. <i>unzip</i>&#8217;s diagnostic option (<b>-v</b> with no zipfile name) can be used to check the values of all four possible <i>unzip</i> and <i>zipinfo</i> environment variables. </p>
<p>The timezone variable (TZ) should be set according to the local timezone in order for the <b>-f</b> and <b>-u</b> to operate correctly. See the description of <b>-f</b> above for details. This variable may also be necessary in order for timestamps on extracted files to be set correctly. Under Windows 95/NT <i>unzip</i> should know the correct timezone even if TZ is unset, assuming the timezone is correctly set in the Control Panel. <a name="lbAI"></a></p>
<h4>DECRYPTION</h4>
<p>Encrypted archives are fully supported by Info-ZIP software, but due to United States export restrictions, de-/encryption support might be disabled in your compiled binary. However, since spring 2000, US export restrictions have been liberated, and our source archives do now include full crypt code. In case you need binary distributions with crypt support enabled, see the file &#8220;WHERE&#8221; in any Info-ZIP source or binary distribution for locations both inside and outside the US. </p>
<p>Some compiled versions of <i>unzip</i> may not support decryption. To check a version for crypt support, either attempt to test or extract an encrypted archive, or else check <i>unzip</i>&#8217;s diagnostic screen (see the <b>-v</b> option above) for &#8220;[decryption]&#8221; as one of the special compilation options. </p>
<p>As noted above, the <b>-P</b> option may be used to supply a password on the command line, but at a cost in security. The preferred decryption method is simply to extract normally; if a zipfile member is encrypted, <i>unzip</i> will prompt for the password without echoing what is typed. <i>unzip</i> continues to use the same password as long as it appears to be valid, by testing a 12-byte header on each file. The correct password will always check out against the header, but there is a 1-in-256 chance that an incorrect password will as well. (This is a security feature of the PKWARE zipfile format; it helps prevent brute-force attacks that might otherwise gain a large speed advantage by testing only the header.) In the case that an incorrect password is given but it passes the header test anyway, either an incorrect CRC will be generated for the extracted data or else <i>unzip</i> will fail during the extraction because the &#8220;decrypted&#8221; bytes do not constitute a valid compressed data stream. </p>
<p>If the first password fails the header check on some file, <i>unzip</i> will prompt for another password, and so on until all files are extracted. If a password is not known, entering a null password (that is, just a carriage return or &#8220;Enter&#8221;) is taken as a signal to skip all further prompting. Only unencrypted files in the archive(s) will thereafter be extracted. (In fact, that&#8217;s not quite true; older versions of <i><a href="http://linux.about.com/od/commands/l/blcmdl1_zip.htm">zip</a></i>(1L) and <i><a href="http://linux.about.com/library/cmd/blcmdl1L_zipcloak.htm">zipcloak</a></i>(1L) allowed null passwords, so <i>unzip</i> checks each encrypted file to see if the null password works. This may result in &#8220;false positives&#8221; and extraction errors, as noted above.) </p>
<p>Archives encrypted with 8-bit passwords (for example, passwords with accented European characters) may not be portable across systems and/or other archivers. This problem stems from the use of multiple encoding methods for such characters, including Latin-1 (ISO 8859-1) and OEM code page 850. DOS <i>PKZIP</i> 2.04g uses the OEM code page; Windows <i>PKZIP</i> 2.50 uses Latin-1 (and is therefore incompatible with DOS <i>PKZIP</i>); Info-ZIP uses the OEM code page on DOS, OS/2 and Win3.x ports but Latin-1 everywhere else; and Nico Mak&#8217;s <i>WinZip</i> 6.x does not allow 8-bit passwords at all. <i>UnZip</i> 5.3 (or newer) attempts to use the default character set first (e.g., Latin-1), followed by the alternate one (e.g., OEM code page) to test passwords. On EBCDIC systems, if both of these fail, EBCDIC encoding will be tested as a last resort. (EBCDIC is not tested on non-EBCDIC systems, because there are no known archivers that encrypt using EBCDIC encoding.) ISO character encodings other than Latin-1 are not supported. <a name="lbAJ"></a></p>
<h4>EXAMPLES</h4>
<p>To use <i>unzip</i> to extract all members of the archive <i>letters.zip</i> into the current directory and subdirectories below it, creating any subdirectories as necessary: </p>
<pre>unzip letters</pre>
<p>To extract all members of <i>letters.zip</i> into the current directory only: </p>
<pre>unzip -j letters</pre>
<p>To test <i>letters.zip</i>, printing only a summary message indicating whether the archive is OK or not: </p>
<pre>unzip -tq letters</pre>
<p>To test <i>all</i> zipfiles in the current directory, printing only the summaries: </p>
<pre>unzip -tq \*.zip</pre>
<p>(The backslash before the asterisk is only required if the shell expands wildcards, as in Unix; double quotes could have been used instead, as in the source examples below.) To extract to standard output all members of <i>letters.zip</i> whose names end in <i>.tex</i>, auto-converting to the local end-of-line convention and piping the output into <i><a href="http://linux.about.com/library/cmd/blcmdl1_more.htm">more</a></i>(1): </p>
<pre>unzip -ca letters \*.tex | more</pre>
<p>To extract the binary file <i>paper1.dvi</i> to standard output and pipe it to a printing program: </p>
<pre>unzip -p articles paper1.dvi | dvips</pre>
<p>To extract all FORTRAN and C source files&#8211;*.f, *.c, *.h, and Makefile&#8211;into the /tmp directory: </p>
<pre>unzip source.zip &quot;*.[fch]&quot; Makefile -d /tmp</pre>
<p>(the double quotes are necessary only in Unix and only if globbing is turned on). To extract all FORTRAN and C source files, regardless of case (e.g., both *.c and *.C, and any makefile, Makefile, MAKEFILE or similar): </p>
<pre>unzip -C source.zip &quot;*.[fch]&quot; makefile -d /tmp</pre>
<p>To extract any such files but convert any uppercase MS-DOS or VMS names to lowercase and convert the line-endings of all of the files to the local standard (without respect to any files that might be marked &#8220;binary&#8221;): </p>
<pre>unzip -aaCL source.zip &quot;*.[fch]&quot; makefile -d /tmp</pre>
<p>To extract only newer versions of the files already in the current directory, without querying (NOTE: be careful of unzipping in one timezone a zipfile created in another&#8211;ZIP archives other than those created by Zip 2.1 or later contain no timezone information, and a &#8220;newer&#8221; file from an eastern timezone may, in fact, be older): </p>
<pre>unzip -fo sources</pre>
<p>To extract newer versions of the files already in the current directory and to create any files not already there (same caveat as previous example): </p>
<pre>unzip -uo sources</pre>
<p>To display a diagnostic screen showing which <i>unzip</i> and <i>zipinfo</i> options are stored in environment variables, whether decryption support was compiled in, the compiler with which <i>unzip</i> was compiled, etc.: </p>
<pre>unzip -v</pre>
<p>In the last five examples, assume that UNZIP or UNZIP_OPTS is set to -q. To do a singly quiet listing: </p>
<pre>unzip -l file.zip</pre>
<p>To do a doubly quiet listing: </p>
<pre>unzip -ql file.zip</pre>
<p>(Note that the &#8220;.zip&#8221; is generally not necessary.) To do a standard listing: </p>
<pre>unzip --ql file.zip</pre>
<p>or </p>
<pre>unzip -l-q file.zip</pre>
<p>or </p>
<pre>unzip -l--q file.zip</pre>
<p>(Extra minuses in options don&#8217;t hurt.) <a name="lbAK"></a></p>
<h4>TIPS</h4>
<p>The current maintainer, being a lazy sort, finds it very useful to define a pair of aliases: tt for &#8220;unzip -tq&#8221; and ii for &#8220;unzip -Z&#8221; (or &#8220;zipinfo&#8221;). One may then simply type &#8220;tt zipfile&#8221; to test an archive, something that is worth making a habit of doing. With luck <i>unzip</i> will report &#8220;No errors detected in compressed data of zipfile.zip,&#8221; after which one may breathe a sigh of relief. </p>
<p>The maintainer also finds it useful to set the UNZIP environment variable to &#8220;-aL&#8221; and is tempted to add &#8220;-C&#8221; as well. His ZIPINFO variable is set to &#8220;-z&#8221;. <a name="lbAL"></a></p>
<h4>SEE ALSO</h4>
<p><i><a href="http://linux.about.com/library/cmd/blcmdl1_funzip.htm">funzip</a></i>(1L), <i><a href="http://linux.about.com/od/commands/l/blcmdl1_zip.htm">zip</a></i>(1L), <i><a href="http://linux.about.com/library/cmd/blcmdl1_zipcloak.htm">zipcloak</a></i>(1L), <i><a href="http://linux.about.com/library/cmd/blcmdl1_zipgrep.htm">zipgrep</a></i>(1L), <i><a href="http://linux.about.com/library/cmd/blcmdl1_zipinfo.htm">zipinfo</a></i>(1L), <i><a href="http://linux.about.com/library/cmd/blcmdl1_zipnote.htm">zipnote</a></i>(1L), <i><a href="http://linux.about.com/library/cmd/blcmdl1_zipsplit.htm">zipsplit</a></i>(1L) <a name="lbAO"></a></p>
<h4>URL</h4>
<p>The Info-ZIP home page is currently at </p>
<pre><a href="http://linux.about.com/gi/dynamic/offsite.htm?site=http://www.info%2Dzip.org/pub/infozip/">http://www.info-zip.org/pub/infozip/</a></pre>
<p>or </p>
<pre><a href="ftp://ftp.info-zip.org/pub/infozip/">ftp://ftp.info-zip.org/pub/infozip/</a> .</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.server.ruservers.com/2009/02/linux-unix-command-unzip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
