<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: HOWTO: Track your mac</title>
	<atom:link href="http://tompohl.com/2010/01/23/howto-track-your-mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://tompohl.com/2010/01/23/howto-track-your-mac/</link>
	<description>dataModuliplator-&#62;modulipolate();</description>
	<lastBuildDate>Fri, 18 May 2012 17:52:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
	<item>
		<title>By: tompohl</title>
		<link>http://tompohl.com/2010/01/23/howto-track-your-mac/comment-page-1/#comment-31781</link>
		<dc:creator>tompohl</dc:creator>
		<pubDate>Mon, 20 Feb 2012 23:29:41 +0000</pubDate>
		<guid isPermaLink="false">http://tompohl.com/?p=67#comment-31781</guid>
		<description>I know it works under Lion. The trick to using launchctl bsexec is to use the PID of loginwindow process of the interactive user. 
 
From a ssh session try this: 
ps auxww &#124;grep loginwindow &#124;grep -v grep &#124;awk &#8216;{print $2}&#8217; 
 
Take the output number from that command (let&#039;s say it&#039;s 100) and then run the isightcatpture command: 
launchctl bsexec 100 /path/to/isightcapture image.jpg 
 
That should trigger the camera and save an image.jpg file in your current directory. </description>
		<content:encoded><![CDATA[<p>I know it works under Lion. The trick to using launchctl bsexec is to use the PID of loginwindow process of the interactive user. </p>
<p>From a ssh session try this:<br />
ps auxww |grep loginwindow |grep -v grep |awk &lsquo;{print $2}&rsquo; </p>
<p>Take the output number from that command (let&#039;s say it&#039;s 100) and then run the isightcatpture command:<br />
launchctl bsexec 100 /path/to/isightcapture image.jpg </p>
<p>That should trigger the camera and save an image.jpg file in your current directory.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: t0hvanah</title>
		<link>http://tompohl.com/2010/01/23/howto-track-your-mac/comment-page-1/#comment-31779</link>
		<dc:creator>t0hvanah</dc:creator>
		<pubDate>Mon, 20 Feb 2012 23:09:20 +0000</pubDate>
		<guid isPermaLink="false">http://tompohl.com/?p=67#comment-31779</guid>
		<description>I&#039;m unable to run isightcapture remotely in Lion. I&#039;ve tried a number of variations with launchctl bsexec, applescript, etc. 
 
Any suggestions? </description>
		<content:encoded><![CDATA[<p>I&#039;m unable to run isightcapture remotely in Lion. I&#039;ve tried a number of variations with launchctl bsexec, applescript, etc. </p>
<p>Any suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tompohl</title>
		<link>http://tompohl.com/2010/01/23/howto-track-your-mac/comment-page-1/#comment-15766</link>
		<dc:creator>tompohl</dc:creator>
		<pubDate>Wed, 08 Dec 2010 11:19:13 +0000</pubDate>
		<guid isPermaLink="false">http://tompohl.com/?p=67#comment-15766</guid>
		<description>The php script wouldn&#039;t do much since latest.jpg doesn&#039;t exist :) 
Here, add a second line under the curl line I suggested earlier: 
curl -T /.locateme/images/taken/$datetime.jpg -u $USER:$PASS $BASEURL/latest.jpg </description>
		<content:encoded><![CDATA[<p>The php script wouldn&#039;t do much since latest.jpg doesn&#039;t exist <img src='http://tompohl.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Here, add a second line under the curl line I suggested earlier:<br />
curl -T /.locateme/images/taken/$datetime.jpg -u $USER:$PASS $BASEURL/latest.jpg</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JoSer</title>
		<link>http://tompohl.com/2010/01/23/howto-track-your-mac/comment-page-1/#comment-15741</link>
		<dc:creator>JoSer</dc:creator>
		<pubDate>Tue, 07 Dec 2010 23:33:34 +0000</pubDate>
		<guid isPermaLink="false">http://tompohl.com/?p=67#comment-15741</guid>
		<description>thanks for that. The FTP Upload works, but the php script is doing nothing. Now I used another simple php script gallery that displays the pics. </description>
		<content:encoded><![CDATA[<p>thanks for that. The FTP Upload works, but the php script is doing nothing. Now I used another simple php script gallery that displays the pics.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tompohl</title>
		<link>http://tompohl.com/2010/01/23/howto-track-your-mac/comment-page-1/#comment-15738</link>
		<dc:creator>tompohl</dc:creator>
		<pubDate>Tue, 07 Dec 2010 22:04:55 +0000</pubDate>
		<guid isPermaLink="false">http://tompohl.com/?p=67#comment-15738</guid>
		<description>doing an ftp upload via curl would be an easy modification to the go.sh script: 
 
Change: 
/usr/bin/curl -u $USER:$PASS -F uploadedfile=@/.locateme/images/taken/$datetime.jpg  $BASEURL/ 
 
to: 
curl -T /.locateme/images/taken/$datetime.jpg -u $USER:$PASS $BASEURL 
 
And also change $BASEURL in locateme.conf to something like ftp://mywebhost.com/uploaddir/ 
 
The only thing that you&#039;ll miss out on is where the php script symlinks the latest image to latest.jpg, but it would at least get the file out to the server! 
 </description>
		<content:encoded><![CDATA[<p>doing an ftp upload via curl would be an easy modification to the go.sh script: </p>
<p>Change:<br />
/usr/bin/curl -u $USER:$PASS -F uploadedfile=@/.locateme/images/taken/$datetime.jpg  $BASEURL/ </p>
<p>to:<br />
curl -T /.locateme/images/taken/$datetime.jpg -u $USER:$PASS $BASEURL </p>
<p>And also change $BASEURL in locateme.conf to something like <a href="ftp://mywebhost.com/uploaddir/" rel="nofollow">ftp://mywebhost.com/uploaddir/</a> </p>
<p>The only thing that you&#039;ll miss out on is where the php script symlinks the latest image to latest.jpg, but it would at least get the file out to the server!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JoSer</title>
		<link>http://tompohl.com/2010/01/23/howto-track-your-mac/comment-page-1/#comment-15733</link>
		<dc:creator>JoSer</dc:creator>
		<pubDate>Tue, 07 Dec 2010 20:53:27 +0000</pubDate>
		<guid isPermaLink="false">http://tompohl.com/?p=67#comment-15733</guid>
		<description>yep =) 
Sorry, i&#039;ve missed that part about unzipping via command line. The script works now. 
I&#039;m now wondering if there is a solution within the script to use a hosted webspace. 
I can&#039;t edit the apache config on that hoseted webspace. 
So I tried .htaccess, but that didnt&#039; work. 
Then I thought about using curl to upload via ftp, but then there&#039;s the POST data missing. 
Is there a possibility for hosted webspaces? </description>
		<content:encoded><![CDATA[<p>yep =)<br />
Sorry, i&#039;ve missed that part about unzipping via command line. The script works now.<br />
I&#039;m now wondering if there is a solution within the script to use a hosted webspace.<br />
I can&#039;t edit the apache config on that hoseted webspace.<br />
So I tried .htaccess, but that didnt&#039; work.<br />
Then I thought about using curl to upload via ftp, but then there&#039;s the POST data missing.<br />
Is there a possibility for hosted webspaces?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tompohl</title>
		<link>http://tompohl.com/2010/01/23/howto-track-your-mac/comment-page-1/#comment-15730</link>
		<dc:creator>tompohl</dc:creator>
		<pubDate>Tue, 07 Dec 2010 20:29:55 +0000</pubDate>
		<guid isPermaLink="false">http://tompohl.com/?p=67#comment-15730</guid>
		<description>It is in the directory named .locateme (with the &#039;.&#039; on the front). Files/folders in unix/osx that start with a &#039;.&#039; are hidden so they won&#039;t show up in Finder, but they are there. If you follow the step-by-step instructions, it should work! </description>
		<content:encoded><![CDATA[<p>It is in the directory named .locateme (with the &#039;.&#039; on the front). Files/folders in unix/osx that start with a &#039;.&#039; are hidden so they won&#039;t show up in Finder, but they are there. If you follow the step-by-step instructions, it should work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JoSer</title>
		<link>http://tompohl.com/2010/01/23/howto-track-your-mac/comment-page-1/#comment-15728</link>
		<dc:creator>JoSer</dc:creator>
		<pubDate>Tue, 07 Dec 2010 18:35:52 +0000</pubDate>
		<guid isPermaLink="false">http://tompohl.com/?p=67#comment-15728</guid>
		<description>Am I wrong, or is the locateme script missing in the tar file? </description>
		<content:encoded><![CDATA[<p>Am I wrong, or is the locateme script missing in the tar file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Whitney</title>
		<link>http://tompohl.com/2010/01/23/howto-track-your-mac/comment-page-1/#comment-4136</link>
		<dc:creator>Adam Whitney</dc:creator>
		<pubDate>Mon, 12 Apr 2010 20:43:23 +0000</pubDate>
		<guid isPermaLink="false">http://tompohl.com/?p=67#comment-4136</guid>
		<description>Tom, thanks for the sweet writeup. It works great! 
 
I did find one typo in the index.php file of the root &#039;locateme&#039; directory. Line 21 should read &quot;Content-type&quot; instead of &quot;Contet-type&quot;. Once I fixed that, the latest snapshot loaded just fine in my browser. 
 </description>
		<content:encoded><![CDATA[<p>Tom, thanks for the sweet writeup. It works great! </p>
<p>I did find one typo in the index.php file of the root &#39;locateme&#39; directory. Line 21 should read &quot;Content-type&quot; instead of &quot;Contet-type&quot;. Once I fixed that, the latest snapshot loaded just fine in my browser.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tompohl</title>
		<link>http://tompohl.com/2010/01/23/howto-track-your-mac/comment-page-1/#comment-4137</link>
		<dc:creator>tompohl</dc:creator>
		<pubDate>Mon, 12 Apr 2010 16:03:38 +0000</pubDate>
		<guid isPermaLink="false">http://tompohl.com/?p=67#comment-4137</guid>
		<description>Great catch!  I&#039;ve updated the tgz file so anyone else who downloads it will benefit from your find! </description>
		<content:encoded><![CDATA[<p>Great catch!  I&#039;ve updated the tgz file so anyone else who downloads it will benefit from your find!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

