<?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>Random Stuff About Software &#187; Source Control</title>
	<atom:link href="http://patricksheedy.net/softwareblog/tag/source-control/feed/" rel="self" type="application/rss+xml" />
	<link>http://patricksheedy.net/softwareblog</link>
	<description>Tips that might be useful</description>
	<lastBuildDate>Tue, 05 May 2009 03:56:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Recursive add all files in a directory with Perforce</title>
		<link>http://patricksheedy.net/softwareblog/2008/01/15/recursive-add-all-files-in-a-directory-with-perforce/</link>
		<comments>http://patricksheedy.net/softwareblog/2008/01/15/recursive-add-all-files-in-a-directory-with-perforce/#comments</comments>
		<pubDate>Wed, 16 Jan 2008 07:14:26 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[Random Software Tips]]></category>
		<category><![CDATA[Perforce]]></category>
		<category><![CDATA[Source Control]]></category>

		<guid isPermaLink="false">http://patricksheedy.net/softwareblog/2008/01/15/recursive-add-all-files-in-a-directory-with-perforce/</guid>
		<description><![CDATA[It is very common to want to add a directory of files to your source control system. With Perforce the command line client doesn&#8217;t support this natively. I would think that a command like this would work: &#8220;p4 add &#8230;&#8221;. But unfortunately Perforce displays this non-useful message when you try that:
Can&#8217;t add filenames with wildcards [...]]]></description>
			<content:encoded><![CDATA[<p>It is very common to want to add a directory of files to your source control system. With Perforce the command line client doesn&#8217;t support this natively. I would think that a command like this would work: &#8220;p4 add &#8230;&#8221;. But unfortunately Perforce displays this non-useful message when you try that:</p>
<p>Can&#8217;t add filenames with wildcards [@#%*] in them.<br />
Use -f option to force add.</p>
<p>Instead you have to use a one line shell command to do this. On Windows try this:</p>
<p>&#8220;dir /b /s /a-d | p4 -x &#8211; add&#8221;</p>
<p>For non-Windows platforms you&#8217;ll have to do a similar command. Just change the &#8216;dir&#8217; part to whatever you use to display files in your OS.</p>
]]></content:encoded>
			<wfw:commentRss>http://patricksheedy.net/softwareblog/2008/01/15/recursive-add-all-files-in-a-directory-with-perforce/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
