<?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: Help With Command Line Basics</title>
	<atom:link href="http://www.sheepeatingtaz.co.uk/blog/2007/04/10/help-with-command-line-basics/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sheepeatingtaz.co.uk/blog/2007/04/10/help-with-command-line-basics/</link>
	<description>&#038; mrs sheepeatingtaz too</description>
	<lastBuildDate>Wed, 28 Oct 2009 09:07:34 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: sheepeatingtaz</title>
		<link>http://www.sheepeatingtaz.co.uk/blog/2007/04/10/help-with-command-line-basics/comment-page-1/#comment-4360</link>
		<dc:creator>sheepeatingtaz</dc:creator>
		<pubDate>Fri, 20 Apr 2007 06:58:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.sheepeatingtaz.co.uk/blog/2007/04/10/help-with-command-line-basics/#comment-4360</guid>
		<description>Pinched from &lt;a href=&quot;http://strugglers.net/~andy/blog/2007/04/10/you-need-xargs-replacement-to-do-it-that-way/&quot; rel=&quot;nofollow&quot;&gt;Grifferz&lt;/a&gt;:
&lt;code&gt;$ cd ~/fonts
$ find . -type f -iname &#039;*.ttf&#039; -print0 &#124; xargs -I{} -0 cp {} ~/.fonts/&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Pinched from <a href="http://strugglers.net/~andy/blog/2007/04/10/you-need-xargs-replacement-to-do-it-that-way/" rel="nofollow">Grifferz</a>:<br />
<code>$ cd ~/fonts<br />
$ find . -type f -iname '*.ttf' -print0 | xargs -I{} -0 cp {} ~/.fonts/</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Omahn</title>
		<link>http://www.sheepeatingtaz.co.uk/blog/2007/04/10/help-with-command-line-basics/comment-page-1/#comment-4020</link>
		<dc:creator>Omahn</dc:creator>
		<pubDate>Tue, 10 Apr 2007 20:56:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.sheepeatingtaz.co.uk/blog/2007/04/10/help-with-command-line-basics/#comment-4020</guid>
		<description>I&#039;ll try and catch you tomorrow in #lugradio - that command should work.
(as in, it works for me) ;-)</description>
		<content:encoded><![CDATA[<p>I&#8217;ll try and catch you tomorrow in #lugradio &#8211; that command should work.<br />
(as in, it works for me) <img src='http://www.sheepeatingtaz.co.uk/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sheepeatingtaz</title>
		<link>http://www.sheepeatingtaz.co.uk/blog/2007/04/10/help-with-command-line-basics/comment-page-1/#comment-4010</link>
		<dc:creator>sheepeatingtaz</dc:creator>
		<pubDate>Tue, 10 Apr 2007 16:52:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.sheepeatingtaz.co.uk/blog/2007/04/10/help-with-command-line-basics/#comment-4010</guid>
		<description>Martin: I could, but I want to get rid of the subdirectories, so that all the font files are together in one directory, and I want to NOT copy other files that are in the subdirectories.</description>
		<content:encoded><![CDATA[<p>Martin: I could, but I want to get rid of the subdirectories, so that all the font files are together in one directory, and I want to NOT copy other files that are in the subdirectories.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://www.sheepeatingtaz.co.uk/blog/2007/04/10/help-with-command-line-basics/comment-page-1/#comment-4009</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Tue, 10 Apr 2007 16:46:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.sheepeatingtaz.co.uk/blog/2007/04/10/help-with-command-line-basics/#comment-4009</guid>
		<description>Hows about renaming the fonts dir?</description>
		<content:encoded><![CDATA[<p>Hows about renaming the fonts dir?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sheepeatingtaz</title>
		<link>http://www.sheepeatingtaz.co.uk/blog/2007/04/10/help-with-command-line-basics/comment-page-1/#comment-4007</link>
		<dc:creator>sheepeatingtaz</dc:creator>
		<pubDate>Tue, 10 Apr 2007 16:40:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.sheepeatingtaz.co.uk/blog/2007/04/10/help-with-command-line-basics/#comment-4007</guid>
		<description>Omahn: With that, nothing gets copied
Will: With that I get &lt;code&gt;cp: missing destination file operand after `/home/sheepeatingtaz/.fonts&#039;&lt;/code&gt;

But thanks for the help, it is appreciated.</description>
		<content:encoded><![CDATA[<p>Omahn: With that, nothing gets copied<br />
Will: With that I get <code>cp: missing destination file operand after `/home/sheepeatingtaz/.fonts'</code></p>
<p>But thanks for the help, it is appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will Thompson</title>
		<link>http://www.sheepeatingtaz.co.uk/blog/2007/04/10/help-with-command-line-basics/comment-page-1/#comment-4006</link>
		<dc:creator>Will Thompson</dc:creator>
		<pubDate>Tue, 10 Apr 2007 16:17:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.sheepeatingtaz.co.uk/blog/2007/04/10/help-with-command-line-basics/#comment-4006</guid>
		<description>That solution will run cp once per font.  I suspect there&#039;s a way to use xargs to use only a single invocation of cp.

The best way that I can see is:
(find ~/fonts -iname &#039;*.ttf&#039;; echo ~/.fonts) &#124; xargs cp

The `echo` is to put the destination at the end of the argument list.  Is there a better way to do this, anyone?</description>
		<content:encoded><![CDATA[<p>That solution will run cp once per font.  I suspect there&#8217;s a way to use xargs to use only a single invocation of cp.</p>
<p>The best way that I can see is:<br />
(find ~/fonts -iname &#8216;*.ttf&#8217;; echo ~/.fonts) | xargs cp</p>
<p>The `echo` is to put the destination at the end of the argument list.  Is there a better way to do this, anyone?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Omahn</title>
		<link>http://www.sheepeatingtaz.co.uk/blog/2007/04/10/help-with-command-line-basics/comment-page-1/#comment-4005</link>
		<dc:creator>Omahn</dc:creator>
		<pubDate>Tue, 10 Apr 2007 15:32:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.sheepeatingtaz.co.uk/blog/2007/04/10/help-with-command-line-basics/#comment-4005</guid>
		<description>and when I say &#039;fine&#039; I really mean &#039;find&#039; :-)</description>
		<content:encoded><![CDATA[<p>and when I say &#8216;fine&#8217; I really mean &#8216;find&#8217; <img src='http://www.sheepeatingtaz.co.uk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Omahn</title>
		<link>http://www.sheepeatingtaz.co.uk/blog/2007/04/10/help-with-command-line-basics/comment-page-1/#comment-4004</link>
		<dc:creator>Omahn</dc:creator>
		<pubDate>Tue, 10 Apr 2007 15:31:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.sheepeatingtaz.co.uk/blog/2007/04/10/help-with-command-line-basics/#comment-4004</guid>
		<description>If I understand what you&#039;re asking, I think this will do:

cd ~/fonts
fine -iname &#039;*.ttf&#039; -exec cp &#039;{}&#039; ~/.fonts/ \;</description>
		<content:encoded><![CDATA[<p>If I understand what you&#8217;re asking, I think this will do:</p>
<p>cd ~/fonts<br />
fine -iname &#8216;*.ttf&#8217; -exec cp &#8216;{}&#8217; ~/.fonts/ \;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
