<?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>Solutions Log &#187; howto</title>
	<atom:link href="http://solutions.unixsherpa.com/tag/howto/feed/" rel="self" type="application/rss+xml" />
	<link>http://solutions.unixsherpa.com</link>
	<description>by Dan Reiland</description>
	<lastBuildDate>Fri, 16 Apr 2010 20:28:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Git Subtree Merge and git-svn</title>
		<link>http://solutions.unixsherpa.com/2010/03/02/git-subtree-merge-and-git-svn/</link>
		<comments>http://solutions.unixsherpa.com/2010/03/02/git-subtree-merge-and-git-svn/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 17:02:37 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[SCM]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[git-svn]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[recipe]]></category>

		<guid isPermaLink="false">http://solutions.unixsherpa.com/?p=262</guid>
		<description><![CDATA[Issue: Git submodules do not play nicely with git-svn; git subtree merging is a more appropriate strategy for my specific use case. Resolution: This is my recipe (borrowed heavily from the formal git documentation). git checkout -b TRY-MERGE master git remote add -f Bproject /path/to/B git merge -s ours --no-commit Bproject/master git read-tree --prefix=dir-B/ -u [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Issue:</strong> Git submodules do not play nicely with git-svn; git subtree merging is a more appropriate strategy for my specific use case.</p>
<p><strong>Resolution:</strong> This is my recipe (borrowed heavily from the formal git documentation).</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">git</span> checkout <span style="color: #660033;">-b</span> TRY-MERGE master<br />
<span style="color: #c20cb9; font-weight: bold;">git</span> remote add <span style="color: #660033;">-f</span> Bproject <span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>B<br />
<span style="color: #c20cb9; font-weight: bold;">git</span> merge <span style="color: #660033;">-s</span> ours <span style="color: #660033;">--no-commit</span> Bproject<span style="color: #000000; font-weight: bold;">/</span>master<br />
<span style="color: #c20cb9; font-weight: bold;">git</span> read-tree <span style="color: #660033;">--prefix</span>=dir-B<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #660033;">-u</span> Bproject<span style="color: #000000; font-weight: bold;">/</span>master<br />
<span style="color: #c20cb9; font-weight: bold;">git</span> commit <span style="color: #660033;">-m</span> <span style="color: #ff0000;">&quot;Task - JIRA-001 - Merge B project as our subdirectory&quot;</span><br />
<span style="color: #c20cb9; font-weight: bold;">git</span> checkout master<br />
<span style="color: #c20cb9; font-weight: bold;">git</span> merge TRY-MERGE master <span style="color: #660033;">-m</span> <span style="color: #ff0000;">&quot;Task - JIRA-001 - Merging subtrees into project.&quot;</span><br />
<span style="color: #c20cb9; font-weight: bold;">git-svn</span> dcommit</div></div>
<p>You may update your local copy from the remote at any time with:</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">git</span> pull <span style="color: #660033;">-s</span> subtree Bproject master</div></div>
<p>Reference: <a href="http://kernel.org/pub/software/scm/git/docs/v1.7.0/howto/using-merge-subtree.html">http://kernel.org/pub/software/scm/git/docs/v1.7.0/howto/using-merge-subtree.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://solutions.unixsherpa.com/2010/03/02/git-subtree-merge-and-git-svn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Commit a linear git history to subversion</title>
		<link>http://solutions.unixsherpa.com/2010/02/26/commit-a-linear-git-history-to-subversion/</link>
		<comments>http://solutions.unixsherpa.com/2010/02/26/commit-a-linear-git-history-to-subversion/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 20:46:44 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Git]]></category>
		<category><![CDATA[SCM]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://solutions.unixsherpa.com/?p=250</guid>
		<description><![CDATA[Issue: I was recently asked to integrate my local development (which I had done under git management) into our central Subversion server. How to do this while preserving my commit history? Resolution: After a lot of reading (and an upgrade to git-1.7.0) I found the following recipe to work for me. git branch master.bak master [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Issue:</strong> I was recently asked to integrate my local development (which I had done under git management) into our central Subversion server. How to do this while preserving my commit history?</p>
<p><strong>Resolution:</strong> After a lot of reading (and an upgrade to git-1.7.0) I found the following recipe to work for me.</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">git</span> branch master.bak master<br />
<span style="color: #c20cb9; font-weight: bold;">git-svn</span> init <span style="color: #c20cb9; font-weight: bold;">svn</span>:<span style="color: #000000; font-weight: bold;">//</span>repo.domain.local<span style="color: #000000; font-weight: bold;">/</span>Project<span style="color: #000000; font-weight: bold;">/</span>trunk<span style="color: #000000; font-weight: bold;">/</span>sub<span style="color: #000000; font-weight: bold;">/</span>directory<br />
<span style="color: #c20cb9; font-weight: bold;">git-svn</span> fetch<br />
<span style="color: #c20cb9; font-weight: bold;">git</span> checkout <span style="color: #660033;">-b</span> svnrebase <span style="color: #c20cb9; font-weight: bold;">git-svn</span><br />
<span style="color: #c20cb9; font-weight: bold;">git-svn</span> rebase<br />
<span style="color: #c20cb9; font-weight: bold;">git</span> rebase <span style="color: #660033;">--root</span> <span style="color: #660033;">--onto</span> svnrebase master<br />
<span style="color: #c20cb9; font-weight: bold;">git-svn</span> dcommit</div></div>
]]></content:encoded>
			<wfw:commentRss>http://solutions.unixsherpa.com/2010/02/26/commit-a-linear-git-history-to-subversion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reset The Windows Update Catalog</title>
		<link>http://solutions.unixsherpa.com/2010/02/08/reset-the-windows-update-catalog/</link>
		<comments>http://solutions.unixsherpa.com/2010/02/08/reset-the-windows-update-catalog/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 20:43:37 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[windows 7]]></category>
		<category><![CDATA[windows vista]]></category>

		<guid isPermaLink="false">http://solutions.unixsherpa.com/?p=235</guid>
		<description><![CDATA[Insert the Windows Vista installation disc in the disc drive, and then restart the computer. When you are prompted to restart from the disc, press any key. When you are prompted, configure the Language to install, Time and currency format , and Keyboard or input method options that you want, and then click Next . [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li>Insert the Windows Vista installation disc in the disc drive, and then restart the computer.</li>
<li>When you are prompted to restart from the disc, press any key.</li>
<li>When you are prompted, configure the Language to install, Time and currency format , and Keyboard or input method options that you want, and then click Next .</li>
<li>On the Install Windows page, click Repair your computer .</li>
<li>On the System Recovery Options page, click the version of the Windows Vista operating system that you want to repair, and then click Next</li>
<li>On the System Recovery Options page, click Command Prompt .</li>
<li>Type cd C:\windows\winsxs , and then press ENTER.</li>
<li>Type ren pending.xml pending.old , and then press ENTER.</li>
<li>In Registry Editor, locate and then delete the following registry subkey:</li>
<div class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">HLKM\Offline Components\AdvancedInstallersNeedResolving<br />
HKLM\Offline Components\PendingXmlIdentifier<br />
HKLM\Offline Components\NextQueueEntryIndex</div></div>
<li>At the command prompt, type exit to exit Registry Editor. Press ENTER.</li>
<li>Click Restart</li>
</ol>
<p><em><strong>Reference:</strong></em> <a href="http://social.answers.microsoft.com/Forums/en-US/vistawu/thread/13dec2a0-2694-4b11-9b0c-9b8fbe6162ee">http://social.answers.microsoft.com/Forums/en-US/vistawu/thread/13dec2a0-2694-4b11-9b0c-9b8fbe6162ee</a></p>
]]></content:encoded>
			<wfw:commentRss>http://solutions.unixsherpa.com/2010/02/08/reset-the-windows-update-catalog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reset HP Integrated Lights Out Board to Factory Defaults</title>
		<link>http://solutions.unixsherpa.com/2010/01/05/reset-hp-integrated-lights-out-board-to-factory-defaults/</link>
		<comments>http://solutions.unixsherpa.com/2010/01/05/reset-hp-integrated-lights-out-board-to-factory-defaults/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 21:45:19 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[hp]]></category>
		<category><![CDATA[ilo]]></category>
		<category><![CDATA[recovery]]></category>
		<category><![CDATA[riloe]]></category>

		<guid isPermaLink="false">http://solutions.unixsherpa.com/?p=230</guid>
		<description><![CDATA[Issue: Cannot login to HP Integrated Lights Out Board (bad credentials). Cause: Someone failed to record the configuration. Solution: If an operating system supported by HP Proliant Essentials is installed along with a recent Proliant Support Pack, you may reset the Integrated Lights Out board to its factory defaults. Use the HP Lights-Out Online Configuration [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Issue:</strong><br />
Cannot login to HP Integrated Lights Out Board (bad credentials).</p>
<p><strong>Cause:</strong><br />
Someone failed to record the configuration.</p>
<p><strong>Solution:</strong><br />
If an operating system supported by HP Proliant Essentials is installed along with a recent Proliant Support Pack, you may reset the Integrated Lights Out board to its factory defaults. Use the HP Lights-Out Online Configuration utility.</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">C:\Program Files\HP\hponcfg\hponcfg.exe <span style="color: #000000; font-weight: bold;">/</span>reset</div></div>
]]></content:encoded>
			<wfw:commentRss>http://solutions.unixsherpa.com/2010/01/05/reset-hp-integrated-lights-out-board-to-factory-defaults/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove a Range of Unwanted ZFS Snapshots from the Command Line</title>
		<link>http://solutions.unixsherpa.com/2009/11/25/remove-a-range-of-unwanted-zfs-snapshots-from-the-command-line/</link>
		<comments>http://solutions.unixsherpa.com/2009/11/25/remove-a-range-of-unwanted-zfs-snapshots-from-the-command-line/#comments</comments>
		<pubDate>Thu, 26 Nov 2009 05:51:41 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[snapshots]]></category>
		<category><![CDATA[zfs]]></category>

		<guid isPermaLink="false">http://solutions.unixsherpa.com/?p=218</guid>
		<description><![CDATA[Remove a range of unwanted snapshots, from the command line, if necessary. In the following example, all automatic snapshots in the bash shell are removed. for s in $&#40;zfs list -H -o name -t snapshot &#124; grep @zfs-auto-snap&#41;; do zfs destroy $s; done One could add a secondary pipe and grep statement to filter on [...]]]></description>
			<content:encoded><![CDATA[<p>Remove a range of unwanted snapshots, from the command line, if necessary.<br />
In the following example, <strong>all</strong> automatic snapshots in the bash shell are removed.</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">for</span> s <span style="color: #000000; font-weight: bold;">in</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span>zfs list <span style="color: #660033;">-H</span> <span style="color: #660033;">-o</span> name <span style="color: #660033;">-t</span> snapshot <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #000000; font-weight: bold;">@</span>zfs-auto-snap<span style="color: #7a0874; font-weight: bold;">&#41;</span>; <span style="color: #000000; font-weight: bold;">do</span> zfs destroy <span style="color: #007800;">$s</span>; <span style="color: #000000; font-weight: bold;">done</span></div></div>
<p>One could add a secondary pipe and grep statement to filter on individual file systems.</p>
<p>Reference: <a href="http://wikis.sun.com/display/OpenSolarisInfo200906/How+to+Manage+the+Automatic+ZFS+Snapshot+Service">How to Manage the Automatic ZFS Snapshot Service</a></p>
]]></content:encoded>
			<wfw:commentRss>http://solutions.unixsherpa.com/2009/11/25/remove-a-range-of-unwanted-zfs-snapshots-from-the-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Device Manager does not display devices that are not connected to the Windows XP-based computer</title>
		<link>http://solutions.unixsherpa.com/2009/10/01/device-manager-does-not-display-devices-that-are-not-connected-to-the-windows-xp-based-computer/</link>
		<comments>http://solutions.unixsherpa.com/2009/10/01/device-manager-does-not-display-devices-that-are-not-connected-to-the-windows-xp-based-computer/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 17:36:05 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://solutions.unixsherpa.com/?p=197</guid>
		<description><![CDATA[Issue: Device Manager displays only non-Plug and Play devices, drivers, and printers when you click Show hidden devices on the View menu. Devices that you install that are not connected to the computer (such as a Universal Serial Bus [USB] device or "ghosted" devices) are not displayed in Device Manager, even when you click Show [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Issue:</strong><br />
Device Manager displays only non-Plug and Play devices, drivers, and printers when you click Show hidden devices on the View menu. Devices that you install that are not connected to the computer (such as a Universal Serial Bus [USB] device or "ghosted" devices) are not displayed in Device Manager, even when you click Show hidden devices. </p>
<p><strong>Workaround:</strong></p>
<ol>
<li>Click <strong>Start</strong>, point to <strong>Run</strong>, and type <em>cmd</em>.</li>
<li>Click <strong>Ok</strong></li>
<li>At the command prompt, type the following command and then press ENTER:
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">set</span> <span style="color: #007800;">devmgr_show_nonpresent_devices</span>=<span style="color: #000000;">1</span></div></div>
</li>
<li>Type the following command at the command prompt and then press ENTER:
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">start devmgmt.msc</div></div>
</li>
<li>Troubleshoot the devices and drivers in Device Manager. <strong>NOTE:</strong> Click <strong>Show hidden devices</strong> on the <strong>View</strong> menu in Device Managers before you can see devices that are not connected to the computer.</li>
</ol>
<blockquote><p>Note that when you close the command prompt window, Window clears the devmgr_show_nonpresent_devices=1 variable that you set in step 2 and prevents ghosted devices from being displayed when you click Show hidden devices.</p></blockquote>
<p>If you are a developer or power user and you want to be able to view devices that are not connected to your computer, set this environment variable globally:</p>
<ol>
<li>Right-click <strong>My Computer</strong>.<strong></strong><strong></strong><strong></strong></li>
<li>Click <strong>Properties</strong>.</li>
<li>Click the <strong>Advanced</strong> tab.</li>
<li>Click on the <strong>Environment Variables</strong> tab.</li>
<li>Set the variables in the <strong>System Variables</strong> box.</li>
</ol>
<p><strong>NOTE:</strong> Use this method only for troubleshooting or development purposes, or to prevent users from accidentally uninstalling a required device that is not connected to the computer (such as a USB device or docking station that is not connected to a laptop computer).</p>
<p><strong>Reference:</strong> <a href="http://support.microsoft.com/kb/315539">http://support.microsoft.com/kb/315539</a></p>
]]></content:encoded>
			<wfw:commentRss>http://solutions.unixsherpa.com/2009/10/01/device-manager-does-not-display-devices-that-are-not-connected-to-the-windows-xp-based-computer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remote Mirroring Using nc and dd</title>
		<link>http://solutions.unixsherpa.com/2009/08/10/remote-mirroring-using-nc-and-dd/</link>
		<comments>http://solutions.unixsherpa.com/2009/08/10/remote-mirroring-using-nc-and-dd/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 16:58:06 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Apple OSX]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[netcat]]></category>

		<guid isPermaLink="false">http://solutions.unixsherpa.com/?p=160</guid>
		<description><![CDATA[You can use the dd and nc commands for exact disk mirroring from one server to another. The following commands send data from Server1 to Server2: 12Server2# nc -l 12345 &#124; dd of=/dev/sdb Server1# dd if=/dev/sda &#124; nc server2 12345 Make sure that you issue Server2's command first so that it's listening on port 12345 [...]]]></description>
			<content:encoded><![CDATA[<p>You can use the dd and nc commands for exact disk mirroring from one server to another. The following commands send data from Server1 to Server2:</p>
<div class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Server2# nc -l 12345 | dd of=/dev/sdb<br />
Server1# dd if=/dev/sda | nc server2 12345</div></td></tr></tbody></table></div>
<p>Make sure that you issue Server2's command first so that it's listening on port 12345 when Server1 starts sending its data.</p>
<p>Unless you're sure that the disk is not being modified, it's better to boot Server1 from a RescueCD or LiveCD to do the copy. </p>
<p>Reference: <a href="http://www.linuxjournal.com/content/tech-tip-remote-mirroring-using-nc-and-dd">http://www.linuxjournal.com/content/tech-tip-remote-mirroring-using-nc-and-dd</a></p>
]]></content:encoded>
			<wfw:commentRss>http://solutions.unixsherpa.com/2009/08/10/remote-mirroring-using-nc-and-dd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>rsync failed to set times on [filename]</title>
		<link>http://solutions.unixsherpa.com/2009/07/09/rsync-failed-to-set-times-on-filename/</link>
		<comments>http://solutions.unixsherpa.com/2009/07/09/rsync-failed-to-set-times-on-filename/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 02:34:52 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Apple OSX]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[rsync]]></category>

		<guid isPermaLink="false">http://solutions.unixsherpa.com/?p=71</guid>
		<description><![CDATA[This error occurs because the version of rsync on the system cannot preserve modified times for directories. Run rsync with the following arguments to suppress this warning: rsync -avrPO ./source/* ./destination Explanation of switches: 12345a -&#62; Archive mode (do not preserve hard links, ACLs, or extended attributes) v -&#62; Verbose (I like to know what [...]]]></description>
			<content:encoded><![CDATA[<p>This error occurs because the version of rsync on the system cannot preserve modified times for directories. </p>
<p>Run rsync with the following arguments to suppress this warning:</p>
<pre>
 rsync -avrPO ./source/* ./destination
</pre>
<p>Explanation of switches:</p>
<div class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">a -&gt; Archive mode (do not preserve hard links, ACLs, or extended attributes)<br />
v -&gt; Verbose (I like to know what is happening)<br />
r -&gt; Copy directories recursively<br />
P -&gt; Equivalent to --partial --progress (for long transfers that may be interrupted)<br />
O -&gt; Omit directories from times</div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://solutions.unixsherpa.com/2009/07/09/rsync-failed-to-set-times-on-filename/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Create thumbnails en-masse from a bash prompt</title>
		<link>http://solutions.unixsherpa.com/2009/07/08/create-thumbnails-en-masse-from-a-bash-prompt/</link>
		<comments>http://solutions.unixsherpa.com/2009/07/08/create-thumbnails-en-masse-from-a-bash-prompt/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 23:10:14 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Apple OSX]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[one-liner]]></category>

		<guid isPermaLink="false">http://solutions.unixsherpa.com/?p=129</guid>
		<description><![CDATA[A simple one-liner and ffmpeg, basename, and cut gets this done. 1for i in *.f4v; do ffmpeg -i `basename $i` -s 320x240 `basename $i &#124; cut -d'.' -f1`.jpg; done Thumbnail output size is configurable with the -s switch.]]></description>
			<content:encoded><![CDATA[<p>A simple one-liner and ffmpeg, basename, and cut gets this done.</p>
<div class="codecolorer-container text twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">for i in *.f4v; do ffmpeg -i `basename $i` -s 320x240 `basename $i | cut -d'.' -f1`.jpg; done</div></td></tr></tbody></table></div>
<p>Thumbnail output size is configurable with the -s switch.</p>
]]></content:encoded>
			<wfw:commentRss>http://solutions.unixsherpa.com/2009/07/08/create-thumbnails-en-masse-from-a-bash-prompt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install VMware Tools on a Gentoo Guest</title>
		<link>http://solutions.unixsherpa.com/2009/07/08/install-vmware-tools-on-a-gentoo-guest/</link>
		<comments>http://solutions.unixsherpa.com/2009/07/08/install-vmware-tools-on-a-gentoo-guest/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 16:21:01 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://solutions.unixsherpa.com/?p=130</guid>
		<description><![CDATA[emerge pciutils mkinitrd mkdir /etc/rc.d cd /etc/rc.d for i in `seq 0 6`; do mkdir rc$i.d; done File -> Install VMware Tools mount /mnt/cdrom cd /tmp tar xvfz /mnt/cdrom/VMwareTools-3.5.0-158874.tar.gz cd vmware-tools-distrib/ ./vmware-install.pl All defaults with the exception of: /etc/rc.d -> location of the rc.d directories /etc/init.d -> location of the init scripts When prompted to [...]]]></description>
			<content:encoded><![CDATA[<ol>
<li>emerge pciutils mkinitrd</li>
<li>mkdir /etc/rc.d</li>
<li>cd /etc/rc.d</li>
<li>for i in `seq 0 6`; do mkdir rc$i.d; done</li>
<li>File -> Install VMware Tools</li>
<li>mount /mnt/cdrom</li>
<li>cd /tmp</li>
<li>tar xvfz /mnt/cdrom/VMwareTools-3.5.0-158874.tar.gz</li>
<li>cd vmware-tools-distrib/</li>
<li>./vmware-install.pl</li>
<li>All defaults with the exception of:<br />
/etc/rc.d -> location of the rc.d directories<br />
/etc/init.d -> location of the init scripts</li>
<li>When prompted to run vmware-tools-config, decline</li>
<li>rc-update add vmware-tools default</li>
<li>/usr/bin/vmware-config-tools.pl</li>
<li>Verify that everything compiles without error</li>
<li>Reboot</li>
<li>Verify that VMware tools are reported as running in the VI console</li>
</ol>
<p>Note: This was tested and found working under VMware VI 3.5.x with Gentoo x86_64, kernel 2.6.27-gentoo-r8. </p>
]]></content:encoded>
			<wfw:commentRss>http://solutions.unixsherpa.com/2009/07/08/install-vmware-tools-on-a-gentoo-guest/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
