<?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>Sean&#039;s Blog &#187; photoshop</title>
	<atom:link href="http://seanbehan.com/tag/photoshop/feed/" rel="self" type="application/rss+xml" />
	<link>http://seanbehan.com</link>
	<description>Web Programming, Ruby on Rails, Wordpress, PHP from Burlington, Vermont</description>
	<lastBuildDate>Wed, 18 Jan 2012 21:44:54 +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>Recursively Zip Up a Directory while Excluding Certain Files Based on File Extension Type</title>
		<link>http://seanbehan.com/linux/recursively-zip-up-a-directory-while-excluding-certain-files/</link>
		<comments>http://seanbehan.com/linux/recursively-zip-up-a-directory-while-excluding-certain-files/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 19:42:56 +0000</pubDate>
		<dc:creator>bseanvt</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[exclude]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[psd]]></category>
		<category><![CDATA[zip]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=1064</guid>
		<description><![CDATA[In the example below, I&#8217;m going to zip up a directory that includes images in both PNG and PSD file formats. However, I want to exclude the PSDs because they are huge! zip -r my-compressed-dir-without-psd.zip directory-to-zip -x '*.psd']]></description>
			<content:encoded><![CDATA[<div style="height:33px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:px;">
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fseanbehan.com%2Flinux%2Frecursively-zip-up-a-directory-while-excluding-certain-files%2F&amp;layout=button_count&amp;show_faces=false&amp;width=&amp;action=like&amp;colorscheme=light&amp;send=false&amp;height=27" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:27px;" allowTransparency="true"></iframe>
				</div><div class="really_simple_share_twitter" style="width:px;">
					<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
						data-text="Recursively Zip Up a Directory while Excluding Certain Files Based on File Extension Type" data-url="http://seanbehan.com/linux/recursively-zip-up-a-directory-while-excluding-certain-files/" 
						data-via="" ></a> 
				</div></div>
		<div style="clear:both;"></div><p>In the example below, I&#8217;m going to zip up a directory that includes images in both PNG and PSD file formats. However, I want to exclude the PSDs because they are huge!</p>
<pre class="wp-code-highlight prettyprint">
zip -r my-compressed-dir-without-psd.zip directory-to-zip -x '*.psd'
</pre>
]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/linux/recursively-zip-up-a-directory-while-excluding-certain-files/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Launch Photoshop (Or Any App) From The Command Line on Mac OS X</title>
		<link>http://seanbehan.com/programming/launch-photoshop-or-any-app-from-the-command-line-on-mac-os-x/</link>
		<comments>http://seanbehan.com/programming/launch-photoshop-or-any-app-from-the-command-line-on-mac-os-x/#comments</comments>
		<pubDate>Tue, 18 May 2010 23:44:48 +0000</pubDate>
		<dc:creator>bseanvt</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[launch]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[psd]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[workflow]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=975</guid>
		<description><![CDATA[I often find myself coding with the terminal open. Cding around a web app project I usually end up at some point launching Photoshop. Either to touch up or work on a psd, png, jpg &#8230;etc. I fire up Photoshop and then navigate to the app&#8217;s public directory, where the site images are kept. Then [...]]]></description>
			<content:encoded><![CDATA[<div style="height:33px;" class="really_simple_share robots-nocontent snap_nopreview"><div class="really_simple_share_facebook_like" style="width:px;">
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fseanbehan.com%2Fprogramming%2Flaunch-photoshop-or-any-app-from-the-command-line-on-mac-os-x%2F&amp;layout=button_count&amp;show_faces=false&amp;width=&amp;action=like&amp;colorscheme=light&amp;send=false&amp;height=27" 
						scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:27px;" allowTransparency="true"></iframe>
				</div><div class="really_simple_share_twitter" style="width:px;">
					<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
						data-text="Launch Photoshop (Or Any App) From The Command Line on Mac OS X" data-url="http://seanbehan.com/programming/launch-photoshop-or-any-app-from-the-command-line-on-mac-os-x/" 
						data-via="" ></a> 
				</div></div>
		<div style="clear:both;"></div><p>I often find myself coding with the terminal open. Cding around a web app project I usually end up at some point launching Photoshop. Either to touch up or work on a psd, png, jpg &#8230;etc. I fire up Photoshop and then navigate to the app&#8217;s public directory, where the site images are kept. Then begins the hunt in finder for the image. This takes some time and if I&#8217;m already at the command line it would be nice to launch Photoshop with the exact file I want with a single command! To accomplish this just make an alias in your bash profile like so&#8230;</p>
<pre class="wp-code-highlight prettyprint">
#fire up your text editor and edit your profile
vim ~/.bash_profile
#create the alias command
alias psd=&quot;open -a /Applications/Adobe\ Photoshop\ Elements\ 3/Photoshop\ Elements\ 3.app&quot;
</pre>
<p>You need to fire up a new terminal instance before this setting will take place. CMD+N.<br />
Then from the command line type</p>
<pre class="wp-code-highlight prettyprint">
psd my-image.psd
</pre>
<p>Note, I didn&#8217;t use &#8220;ps&#8221; as the alias because this is already taken by the system. Also the path to the application may be different on your system. Make sure you use the correct path or you may have an error like</p>
<pre class="wp-code-highlight prettyprint">
LSOpenFromURLSpec() failed with error -10827 for the file...
</pre>
]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/programming/launch-photoshop-or-any-app-from-the-command-line-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

