<?xml version="1.0" encoding="utf-8"?><!-- generator="wordpress/2.3.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments for Mac OS X and Unix tips and tricks</title>
	<link>http://www.bradrice.com/wposx</link>
	<description>This site is about scripting with a particular emphasis on OS X. Other things OS X, too.</description>
	<pubDate>Thu, 03 Jul 2008 23:43:11 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
		<item>
		<title>Comment on Crontab by Automating The Quality Of Your Attention by Graham English</title>
		<link>http://www.bradrice.com/wposx/archives/51#comment-2474</link>
		<dc:creator>Automating The Quality Of Your Attention by Graham English</dc:creator>
		<pubDate>Sun, 09 Dec 2007 19:52:32 +0000</pubDate>
		<guid>http://www.bradrice.com/wposx/archives/51#comment-2474</guid>
		<description>[...] with cron, check these resources that I found helpful: Using cron to run programs on a schedule Mac OS X and Unix tips and tricks Learning the Terminal in Jaguar *If you screw anything up, I accept no responsibility. But [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] with cron, check these resources that I found helpful: Using cron to run programs on a schedule Mac OS X and Unix tips and tricks Learning the Terminal in Jaguar *If you screw anything up, I accept no responsibility. But [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ftp by shell script by links for 2007-05-10 &#187; Graham English Social Networking</title>
		<link>http://www.bradrice.com/wposx/archives/57#comment-1161</link>
		<dc:creator>links for 2007-05-10 &#187; Graham English Social Networking</dc:creator>
		<pubDate>Fri, 11 May 2007 19:04:43 +0000</pubDate>
		<guid>http://www.bradrice.com/wposx/archives/57#comment-1161</guid>
		<description>[...] Mac OS X and Unix tips and tricks » Blog Archive » ftp by shell script Sometimes my sql is the only file that has changed on my site. So I have written a shell script that goes and grabs the sql file. (tags: FTP Mac Apple OSX MySQL Unix tips HowTo tutorials code programming scripts scripting) [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Mac OS X and Unix tips and tricks » Blog Archive » ftp by shell script Sometimes my sql is the only file that has changed on my site. So I have written a shell script that goes and grabs the sql file. (tags: FTP Mac Apple OSX MySQL Unix tips HowTo tutorials code programming scripts scripting) [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Crontab by Automating The Quality Of Your Attention &#187; Graham English's Integral Conversations</title>
		<link>http://www.bradrice.com/wposx/archives/51#comment-1072</link>
		<dc:creator>Automating The Quality Of Your Attention &#187; Graham English's Integral Conversations</dc:creator>
		<pubDate>Fri, 04 May 2007 15:03:49 +0000</pubDate>
		<guid>http://www.bradrice.com/wposx/archives/51#comment-1072</guid>
		<description>[...] with cron, check these resources that I found helpful: Using cron to run programs on a schedule Mac OS X and Unix tips and tricks Learning the Terminal in Jaguar *If you screw anything up, I accept no responsibility. But [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] with cron, check these resources that I found helpful: Using cron to run programs on a schedule Mac OS X and Unix tips and tricks Learning the Terminal in Jaguar *If you screw anything up, I accept no responsibility. But [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Getting Tomcat running by Blogging your documentation &#171; A Dog&#8217;s Breakfast, part II</title>
		<link>http://www.bradrice.com/wposx/archives/71#comment-645</link>
		<dc:creator>Blogging your documentation &#171; A Dog&#8217;s Breakfast, part II</dc:creator>
		<pubDate>Tue, 13 Mar 2007 07:29:53 +0000</pubDate>
		<guid>http://www.bradrice.com/wposx/archives/71#comment-645</guid>
		<description>[...] getting Tomcat up and running on OS X. Today I&#8217;ve dug up some links to help - specifically MacSophia seems to have been here before, and pointed on further to mamamusings for some specific [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] getting Tomcat up and running on OS X. Today I&#8217;ve dug up some links to help - specifically MacSophia seems to have been here before, and pointed on further to mamamusings for some specific [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Perl move files script by bradrice</title>
		<link>http://www.bradrice.com/wposx/archives/59#comment-287</link>
		<dc:creator>bradrice</dc:creator>
		<pubDate>Sun, 28 May 2006 22:45:31 +0000</pubDate>
		<guid>http://www.bradrice.com/wposx/archives/59#comment-287</guid>
		<description>That take it down a level. I use an array, because often times I need the array for additional processing, but you are right, that would work. If you want to move the file just replace copy with move. Both subs come in with the File::Copy package. I usually find myself both making a copy and a move in the same routine.&lt;!-- X-spaminator-strike: whitelist, -3 --&gt;&lt;!-- X-spaminator-passed: IP check --&gt;&lt;!-- X-spaminator-passed: email check --&gt;&lt;!-- X-spaminator-passed: author url --&gt;&lt;!-- X-spaminator-passed: comment body --&gt;</description>
		<content:encoded><![CDATA[<p>That take it down a level. I use an array, because often times I need the array for additional processing, but you are right, that would work. If you want to move the file just replace copy with move. Both subs come in with the File::Copy package. I usually find myself both making a copy and a move in the same routine.<!-- X-spaminator-strike: whitelist, -3 --><!-- X-spaminator-passed: IP check --><!-- X-spaminator-passed: email check --><!-- X-spaminator-passed: author url --><!-- X-spaminator-passed: comment body --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Perl move files script by MI</title>
		<link>http://www.bradrice.com/wposx/archives/59#comment-286</link>
		<dc:creator>MI</dc:creator>
		<pubDate>Sun, 28 May 2006 14:15:05 +0000</pubDate>
		<guid>http://www.bradrice.com/wposx/archives/59#comment-286</guid>
		<description>Came across your script while searching how to move a file. However, you don't seem to be moving them at all. You copy them.

And, BTW, I don't see the point of the @movelist array. Why not something like:

#!/usr/bin/perl
use File::Copy;

my $movefile;
my @dirfile;

my $srcpath = '/Volumes/Users/Admin/Sites/clientfiles/pdf/';
my $movepath = '/Volumes/10.1.5.235/pdfs/';

open (MOVELIST, ‘/Users/bradrice/bin/keypdflist.txt’);
while (&#60;MOVELIST&#62;) {
  chomp $_;
  $new = $_ . ".pdf" unless /\.pdf$/i;
  print “$srcpath$movefile”.” — “. “$movepath$new”.”\n”;
  copy(”$srcpath$movefile”, “$new”);
}

(But that is still a copy, not a move)</description>
		<content:encoded><![CDATA[<p>Came across your script while searching how to move a file. However, you don&#8217;t seem to be moving them at all. You copy them.</p>
<p>And, BTW, I don&#8217;t see the point of the @movelist array. Why not something like:</p>
<p>#!/usr/bin/perl<br />
use File::Copy;</p>
<p>my $movefile;<br />
my @dirfile;</p>
<p>my $srcpath = &#8216;/Volumes/Users/Admin/Sites/clientfiles/pdf/&#8217;;<br />
my $movepath = &#8216;/Volumes/10.1.5.235/pdfs/&#8217;;</p>
<p>open (MOVELIST, ‘/Users/bradrice/bin/keypdflist.txt’);<br />
while (&lt;MOVELIST&gt;) {<br />
  chomp $_;<br />
  $new = $_ . &#8220;.pdf&#8221; unless /\.pdf$/i;<br />
  print “$srcpath$movefile”.” — “. “$movepath$new”.”\n”;<br />
  copy(”$srcpath$movefile”, “$new”);<br />
}</p>
<p>(But that is still a copy, not a move)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wordpress 2 by bradrice</title>
		<link>http://www.bradrice.com/wposx/archives/66#comment-136</link>
		<dc:creator>bradrice</dc:creator>
		<pubDate>Tue, 24 Jan 2006 01:42:57 +0000</pubDate>
		<guid>http://www.bradrice.com/wposx/archives/66#comment-136</guid>
		<description>Must be as you say. Your examples worked for me. The Audible site must use a javascript to handle the link and download. Thanks for pointing this feature out to me.&lt;!-- X-spaminator-strike: whitelist, -3 --&gt;&lt;!-- X-spaminator-passed: IP check --&gt;&lt;!-- X-spaminator-passed: email check --&gt;&lt;!-- X-spaminator-passed: author url --&gt;&lt;!-- X-spaminator-passed: comment body --&gt;</description>
		<content:encoded><![CDATA[<p>Must be as you say. Your examples worked for me. The Audible site must use a javascript to handle the link and download. Thanks for pointing this feature out to me.<!-- X-spaminator-strike: whitelist, -3 --><!-- X-spaminator-passed: IP check --><!-- X-spaminator-passed: email check --><!-- X-spaminator-passed: author url --><!-- X-spaminator-passed: comment body --></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wordpress 2 by Gary</title>
		<link>http://www.bradrice.com/wposx/archives/66#comment-135</link>
		<dc:creator>Gary</dc:creator>
		<pubDate>Mon, 23 Jan 2006 20:51:01 +0000</pubDate>
		<guid>http://www.bradrice.com/wposx/archives/66#comment-135</guid>
		<description>Eek!  I put the URL in angle brackets and the link disappeared in the preview.  Here it is again, minus the brackets...

http://www.dilbert.com/comics/dilbert/desktop_diversions/html/link_icons.html

Watch out for wrapped long lines...</description>
		<content:encoded><![CDATA[<p>Eek!  I put the URL in angle brackets and the link disappeared in the preview.  Here it is again, minus the brackets&#8230;</p>
<p><a href="http://www.dilbert.com/comics/dilbert/desktop_diversions/html/link_icons.html" rel="nofollow">http://www.dilbert.com/comics/dilbert/desktop_diversions/html/link_icons.html</a></p>
<p>Watch out for wrapped long lines&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wordpress 2 by Gary</title>
		<link>http://www.bradrice.com/wposx/archives/66#comment-134</link>
		<dc:creator>Gary</dc:creator>
		<pubDate>Mon, 23 Jan 2006 20:48:55 +0000</pubDate>
		<guid>http://www.bradrice.com/wposx/archives/66#comment-134</guid>
		<description>&#62; but it doesn’t when the link is an image.

Yes it does.  :-)

Try this page.  It may not be a great example, but it does serve to illustrate the point.  

The little "--&#62; download" links are each small GIFs.  Right click on one of them and "Save Linked File to the Desktop" appears in the top half of the popup menu.  Press [option] and it changes to "Save Linked File as...".

This is an example of a simple link.  I wonder if your Audible example - since it's part of commercial service - has some fancy JavaScript behind the link, or some other jiggery pokery.  That might explain why this feature failed in this example.</description>
		<content:encoded><![CDATA[<p>&gt; but it doesn’t when the link is an image.</p>
<p>Yes it does.  <img src='http://www.bradrice.com/wposx/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Try this page.  It may not be a great example, but it does serve to illustrate the point.  </p>
<p>The little &#8220;&#8211;&gt; download&#8221; links are each small GIFs.  Right click on one of them and &#8220;Save Linked File to the Desktop&#8221; appears in the top half of the popup menu.  Press [option] and it changes to &#8220;Save Linked File as&#8230;&#8221;.</p>
<p>This is an example of a simple link.  I wonder if your Audible example - since it&#8217;s part of commercial service - has some fancy JavaScript behind the link, or some other jiggery pokery.  That might explain why this feature failed in this example.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Wordpress 2 by Mumbling Again</title>
		<link>http://www.bradrice.com/wposx/archives/66#comment-132</link>
		<dc:creator>Mumbling Again</dc:creator>
		<pubDate>Mon, 23 Jan 2006 18:12:39 +0000</pubDate>
		<guid>http://www.bradrice.com/wposx/archives/66#comment-132</guid>
		<description>&lt;strong&gt;Safari vs. Firefox...&lt;/strong&gt;

I've been teeter-tottering back and forth between Safari and Firefox. I'm recently back to Safari since I broke down and bought Saft for the ad blocking ability. By the way, the Panther version doesn't block ads&#8212;I already made that mistake. Ov...</description>
		<content:encoded><![CDATA[<p><strong>Safari vs. Firefox&#8230;</strong></p>
<p>I&#8217;ve been teeter-tottering back and forth between Safari and Firefox. I&#8217;m recently back to Safari since I broke down and bought Saft for the ad blocking ability. By the way, the Panther version doesn&#8217;t block ads&mdash;I already made that mistake. Ov&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
