<?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; Apple OSX</title> <atom:link href="http://solutions.unixsherpa.com/category/os/osx/feed/" rel="self" type="application/rss+xml" /><link>http://solutions.unixsherpa.com</link> <description>by Dan Reiland</description> <lastBuildDate>Tue, 05 Apr 2011 16:42:14 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Add Certificate to Java Keystore on OS X</title><link>http://solutions.unixsherpa.com/2011/02/18/add-certificate-to-java-keystore-on-os-x/</link> <comments>http://solutions.unixsherpa.com/2011/02/18/add-certificate-to-java-keystore-on-os-x/#comments</comments> <pubDate>Fri, 18 Feb 2011 20:52:46 +0000</pubDate> <dc:creator>Dan</dc:creator> <category><![CDATA[Apple OSX]]></category> <category><![CDATA[java]]></category><guid
isPermaLink="false">http://solutions.unixsherpa.com/?p=344</guid> <description><![CDATA[This is something I find myself doing annually and always need to look it up. I am putting this here to save me a few searches. sudo keytool -importcert -alias dev -file certfile.cer -keystore /Library/Java/Home/lib/security/cacerts The password will either be changeme or changeit References: http://mattfleming.com/node/310 http://www.java-samples.com/showtutorial.php?tutorialid=669]]></description> <content:encoded><![CDATA[<p>This is something I find myself doing annually and always need to look it up. I am putting this here to save me a few searches.</p><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">sudo keytool -importcert -alias dev -file certfile.cer -keystore /Library/Java/Home/lib/security/cacerts</div></div><p>The password will either be <em>changeme</em> or <em>changeit</em></p><p>References:<br
/> <a
href="http://mattfleming.com/node/310">http://mattfleming.com/node/310</a><br
/> <a
href="http://www.java-samples.com/showtutorial.php?tutorialid=669">http://www.java-samples.com/showtutorial.php?tutorialid=669</a></p> ]]></content:encoded> <wfw:commentRss>http://solutions.unixsherpa.com/2011/02/18/add-certificate-to-java-keystore-on-os-x/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Replace Pipes with Tabs in a Delimited File</title><link>http://solutions.unixsherpa.com/2009/12/04/replace-pipes-with-tabs-in-a-delimited-file/</link> <comments>http://solutions.unixsherpa.com/2009/12/04/replace-pipes-with-tabs-in-a-delimited-file/#comments</comments> <pubDate>Fri, 04 Dec 2009 20:44:37 +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[Regular Expression]]></category> <category><![CDATA[Shell]]></category> <category><![CDATA[Solaris]]></category> <category><![CDATA[sysadmin]]></category> <category><![CDATA[Windows]]></category><guid
isPermaLink="false">http://solutions.unixsherpa.com/?p=224</guid> <description><![CDATA[Issue: It is often necessary to replace delimiters in a file with a form the receiving party expects. sed is my favorite method of meeting the need. Solution: Replace double pipes with tabs sed 's/&#124;&#124;/ &#160; &#160; &#160; &#160; &#160; /g' file.in &#62; file.out Note: If you find the tab key simply does not work, [...]]]></description> <content:encoded><![CDATA[<p><strong>Issue:</strong><br
/> It is often necessary to replace delimiters in a file with a form the receiving party expects. sed is my favorite method of meeting the need.</p><p><strong>Solution:</strong><br
/> Replace double pipes with tabs</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;">sed</span> <span
style="color: #ff0000;">'s/||/ &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /g'</span> file.in <span
style="color: #000000; font-weight: bold;">&gt;</span> file.out</div></div><p><em>Note: If you find the tab key simply does not work, try CTRL+V+I from your terminal.</em><br
/> <em>Reference: <a
href="http://forums.devshed.com/unix-help-35/replacing-tabs-with-spaces-372623.html">http://forums.devshed.com/unix-help-35/replacing-tabs-with-spaces-372623.html</a></em></p><p><strong>Caveats:</strong><br
/> Special consideration (and a regex) will be required for data where delimiters are present in the data itself. Consider your use case and apply appropriately.</p> ]]></content:encoded> <wfw:commentRss>http://solutions.unixsherpa.com/2009/12/04/replace-pipes-with-tabs-in-a-delimited-file/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Create a pidof command to find PID numbers easily</title><link>http://solutions.unixsherpa.com/2009/10/07/create-a-pidof-command-to-find-pid-numbers-easily/</link> <comments>http://solutions.unixsherpa.com/2009/10/07/create-a-pidof-command-to-find-pid-numbers-easily/#comments</comments> <pubDate>Wed, 07 Oct 2009 20:30:44 +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[init]]></category> <category><![CDATA[pid]]></category><guid
isPermaLink="false">http://solutions.unixsherpa.com/?p=205</guid> <description><![CDATA[Most UNIX environments include the pidof command which is put to use whenever one needs to quickly determine, by name, the pid of a running program. Apple's Mac OS X lacks the pidof command, however, one may approximate its function with the following shell script: #!/bin/sh ps axc&#124;awk &#34;{if (\$5==\&#34;$1\&#34;) print \$1}&#34;; Save the script [...]]]></description> <content:encoded><![CDATA[<p><em>Most</em> UNIX environments include the pidof command which is put to use whenever one needs to quickly determine, by name, the pid of a running program. Apple's Mac OS X lacks the pidof command, however, one may approximate its function with the following shell script:</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: #666666; font-style: italic;">#!/bin/sh</span><br
/> <span
style="color: #c20cb9; font-weight: bold;">ps</span> axc<span
style="color: #000000; font-weight: bold;">|</span><span
style="color: #c20cb9; font-weight: bold;">awk</span> <span
style="color: #ff0000;">&quot;{if (<span
style="color: #000099; font-weight: bold;">\$</span>5==<span
style="color: #000099; font-weight: bold;">\&quot;</span>$1<span
style="color: #000099; font-weight: bold;">\&quot;</span>) print <span
style="color: #000099; font-weight: bold;">\$</span>1}&quot;</span>;</div></div><p>Save the script as /bin/pidof and be sure to set its executable bit:</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;">chmod</span> a+x <span
style="color: #000000; font-weight: bold;">/</span>bin<span
style="color: #000000; font-weight: bold;">/</span><span
style="color: #c20cb9; font-weight: bold;">pidof</span></div></div> ]]></content:encoded> <wfw:commentRss>http://solutions.unixsherpa.com/2009/10/07/create-a-pidof-command-to-find-pid-numbers-easily/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Strip empty (null) lines from a file</title><link>http://solutions.unixsherpa.com/2009/10/06/strip-empty-null-lines-from-a-file/</link> <comments>http://solutions.unixsherpa.com/2009/10/06/strip-empty-null-lines-from-a-file/#comments</comments> <pubDate>Tue, 06 Oct 2009 18:12:06 +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[sed]]></category> <category><![CDATA[text processing]]></category><guid
isPermaLink="false">http://solutions.unixsherpa.com/?p=203</guid> <description><![CDATA[sed meets the need; the recipe follows: sed '/^$/d' filename]]></description> <content:encoded><![CDATA[<p>sed meets the need; the recipe follows:</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;">sed</span> <span
style="color: #ff0000;">'/^$/d'</span> filename</div></div> ]]></content:encoded> <wfw:commentRss>http://solutions.unixsherpa.com/2009/10/06/strip-empty-null-lines-from-a-file/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Disable Spotlight in Mac OS X 10.6 Snow Leopard</title><link>http://solutions.unixsherpa.com/2009/10/01/disable-spotlight-in-mac-os-x-10-6-snow-leopard/</link> <comments>http://solutions.unixsherpa.com/2009/10/01/disable-spotlight-in-mac-os-x-10-6-snow-leopard/#comments</comments> <pubDate>Thu, 01 Oct 2009 19:22:06 +0000</pubDate> <dc:creator>Dan</dc:creator> <category><![CDATA[Apple OSX]]></category> <category><![CDATA[mac]]></category> <category><![CDATA[performance]]></category> <category><![CDATA[spotlight]]></category> <category><![CDATA[text processing]]></category><guid
isPermaLink="false">http://solutions.unixsherpa.com/?p=201</guid> <description><![CDATA[On occasion I need to process large volumes of text locally. Spotlight dutifully attempts to index this data, bringing my system to a crawl. Proactively disabling Spotlight is a sure way to avoid such issues and here is how to do it: Disabling Spotlight in Snow Leopard is pretty easy, launch the Terminal and type [...]]]></description> <content:encoded><![CDATA[<p>On occasion I need to process large volumes of text locally. Spotlight dutifully attempts to index this data, bringing my system to a crawl.</p><p>Proactively disabling Spotlight is a sure way to avoid such issues and here is how to do it:</p><p>Disabling Spotlight in Snow Leopard is pretty easy, launch the Terminal and type the following command:</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;">sudo</span> mdutil <span
style="color: #660033;">-a</span> <span
style="color: #660033;">-i</span> off</div></div><p>This tells the Spotlight manager to disable all indexing on all volumes, the command will require your administrative password to execute.</p><p>Re-enabling Spotlight in Mac OS X 10.6 Snow Leopard is just as easy, just reverse the command to:</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;">sudo</span> mdutil <span
style="color: #660033;">-a</span> <span
style="color: #660033;">-i</span> on</div></div><p>Now Spotlight indexing will be back on and work as usual.</p><p><strong>NOTE:</strong> mds and mdsworker will persist in the process table; this is normal.</p> ]]></content:encoded> <wfw:commentRss>http://solutions.unixsherpa.com/2009/10/01/disable-spotlight-in-mac-os-x-10-6-snow-leopard/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Clear Spotlight Index</title><link>http://solutions.unixsherpa.com/2009/09/30/clear-spotlight-index/</link> <comments>http://solutions.unixsherpa.com/2009/09/30/clear-spotlight-index/#comments</comments> <pubDate>Wed, 30 Sep 2009 18:34:07 +0000</pubDate> <dc:creator>Dan</dc:creator> <category><![CDATA[Apple OSX]]></category> <category><![CDATA[apple]]></category> <category><![CDATA[spotlight]]></category><guid
isPermaLink="false">http://solutions.unixsherpa.com/?p=194</guid> <description><![CDATA[From a terminal window: sudo mdutil -avE That is, sudo (because you have to have admin rights to run this), mdutil (the program that does the work for you) -a for “work on all volumes”, -v for “be verbose in telling me what you’re doing”, and -E for “erase the data store and rebuild it”.]]></description> <content:encoded><![CDATA[<p>From a terminal window:</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;">sudo</span> mdutil <span
style="color: #660033;">-avE</span></div></div><p>That is, sudo (because you have to have admin rights to run this), mdutil (the program that does the work for you) -a for “work on all volumes”, -v for “be verbose in telling me what you’re doing”, and -E for “erase the data store and rebuild it”.</p> ]]></content:encoded> <wfw:commentRss>http://solutions.unixsherpa.com/2009/09/30/clear-spotlight-index/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Convert a .dmg to a .iso</title><link>http://solutions.unixsherpa.com/2009/08/25/convert-a-dmg-to-a-iso/</link> <comments>http://solutions.unixsherpa.com/2009/08/25/convert-a-dmg-to-a-iso/#comments</comments> <pubDate>Wed, 26 Aug 2009 02:55:12 +0000</pubDate> <dc:creator>Dan</dc:creator> <category><![CDATA[Apple OSX]]></category> <category><![CDATA[sysadmin]]></category> <category><![CDATA[convert]]></category> <category><![CDATA[dmg]]></category> <category><![CDATA[iso]]></category><guid
isPermaLink="false">http://solutions.unixsherpa.com/?p=188</guid> <description><![CDATA[Issue: Mac formatted disk image (.dmg) cannot be directly burned on Windows or Linux systems. Resolution: One can convert a .dmg to a CD master via the Disk Utility application embedded in OS X, or by opening a terminal window and issuing the following command: hdiutil convert /path/to/filename.dmg -format UDTO -o /path/to/savefile.iso The output file [...]]]></description> <content:encoded><![CDATA[<p><strong>Issue:</strong><br
/> Mac formatted disk image (.dmg) cannot be directly burned on Windows or Linux systems.</p><p><strong>Resolution:</strong><br
/> One can convert a .dmg to a CD master via the Disk Utility application embedded in OS X, or by opening a terminal window and issuing the following command:</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">hdiutil convert <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>filename.dmg <span
style="color: #660033;">-format</span> UDTO <span
style="color: #660033;">-o</span> <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>savefile.iso</div></div><p>The output file will be named savefile.iso.cdr -- you may strip the .cdr and burn the .iso with any standard utility for doing so.</p> ]]></content:encoded> <wfw:commentRss>http://solutions.unixsherpa.com/2009/08/25/convert-a-dmg-to-a-iso/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Create a Large File For Testing</title><link>http://solutions.unixsherpa.com/2009/08/13/create-a-large-file-for-testing/</link> <comments>http://solutions.unixsherpa.com/2009/08/13/create-a-large-file-for-testing/#comments</comments> <pubDate>Thu, 13 Aug 2009 15:23:33 +0000</pubDate> <dc:creator>Dan</dc:creator> <category><![CDATA[Apple OSX]]></category> <category><![CDATA[FreeBSD]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Solaris]]></category> <category><![CDATA[sysadmin]]></category><guid
isPermaLink="false">http://solutions.unixsherpa.com/?p=162</guid> <description><![CDATA[Issue: Often you need a set of variable sized files for testing a particular scenario. Generating test data is a painless endeavor. Resolution: The Unix dd command is perfectly suited to dispatch this need. dd if=/dev/zero of=~/testfile.txt bs=1m count=5 The above command will create a 5 megabyte file full of zeroes. Lovely. You may adjust [...]]]></description> <content:encoded><![CDATA[<p><strong>Issue:</strong><br
/> Often you need a set of variable sized files for testing a particular scenario. Generating test data is a painless endeavor.</p><p><strong>Resolution:</strong><br
/> The Unix dd command is perfectly suited to dispatch this need.</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;">dd</span> <span
style="color: #007800;">if</span>=<span
style="color: #000000; font-weight: bold;">/</span>dev<span
style="color: #000000; font-weight: bold;">/</span>zero <span
style="color: #007800;">of</span>=~<span
style="color: #000000; font-weight: bold;">/</span>testfile.txt <span
style="color: #007800;">bs</span>=1m <span
style="color: #007800;">count</span>=<span
style="color: #000000;">5</span></div></div><p>The above command will create a 5 megabyte file full of zeroes. Lovely. You may adjust the count (or blocksize) to achieve the results you desire. This data also achieves stellar compression ratios based on its content.</p><p>One could also create a test file full of pseudo random data by pointing <em>if</em> to /dev/urandom.</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;">dd</span> <span
style="color: #007800;">if</span>=<span
style="color: #000000; font-weight: bold;">/</span>dev<span
style="color: #000000; font-weight: bold;">/</span>urandom <span
style="color: #007800;">of</span>=~<span
style="color: #000000; font-weight: bold;">/</span>testfile.txt <span
style="color: #007800;">bs</span>=1m <span
style="color: #007800;">count</span>=<span
style="color: #000000;">5</span></div></div><p><a
href="http://en.wikipedia.org/wiki//dev/random">Explanation of /dev/urandom</a></p> ]]></content:encoded> <wfw:commentRss>http://solutions.unixsherpa.com/2009/08/13/create-a-large-file-for-testing/feed/</wfw:commentRss> <slash:comments>2</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[sysadmin]]></category> <category><![CDATA[Windows]]></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 -avPO ./source/* ./destination Explanation of switches: 1234a -&#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 -avPO ./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
/></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
/> 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>2</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using memcached
Page Caching using memcached
Database Caching 1/39 queries in 0.007 seconds using memcached
Object Caching 1385/1461 objects using memcached
Content Delivery Network via Amazon Web Services: S3: unixsherpa-solutions.s3.amazonaws.com

Served from: solutions.unixsherpa.com @ 2012-02-06 15:23:06 -->
