<?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>KaraokeCrime &#187; commandline</title>
	<atom:link href="http://www.karaokecrime.com/tag/commandline/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.karaokecrime.com</link>
	<description>Thinking big about karaoke.  Democratizing tools, breaking rules.</description>
	<lastBuildDate>Wed, 08 Jun 2011 13:20:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to unzip a ton of karaoke tracks (Mac / Linux)</title>
		<link>http://www.karaokecrime.com/2009/01/how-to-unzip-a-ton-of-karaoke-tracks-mac-linux/</link>
		<comments>http://www.karaokecrime.com/2009/01/how-to-unzip-a-ton-of-karaoke-tracks-mac-linux/#comments</comments>
		<pubDate>Tue, 13 Jan 2009 16:53:13 +0000</pubDate>
		<dc:creator>djkj</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[advice]]></category>
		<category><![CDATA[commandline]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[vlc]]></category>
		<category><![CDATA[winamp]]></category>

		<guid isPermaLink="false">http://www.karaokecrime.com/2009/01/how-to-unzip-a-ton-of-karaoke-tracks-mac-linux/</guid>
		<description><![CDATA[

Karaoke players (like Winamp or VLC) can&#8217;t read inside .zip files, so you need to unzip all your karaoke to use them. Turns out, if you have a big library there are just too many files to use the unix wildcard *.
And you get an error like: -bash: /bin/ls: Argument list too long
Here&#8217;s how to [...]]]></description>
			<content:encoded><![CDATA[<p>
<img src="http://www.karaokecrime.com/wp-content/uploads/2009/01/200901131151.jpg" width="500" height="409" alt="200901131151.jpg" title="200901131151.jpg" /></p>
<p>Karaoke players (like <a href="http://www.karaokecrime.com/2009/01/best-karaoke-software-for-windows/">Winamp</a> or <a href="http://videolan.org/vlc">VLC</a>) can&#8217;t read inside .zip files, so you need to unzip all your karaoke to use them. Turns out, if you have a big library there are just too many files to use the <a href="http://unix.t-a-y-l-o-r.com/USwild.html">unix wildcard *.</a></p>
<p>And you get an error like: <em>-bash: /bin/ls: Argument list too long</em></p>
<p>Here&#8217;s how to move your huge library of karaoke songs to one folder, and unzip them. It&#8217;s well worth the trouble to be able to use Winamp (which is super-simple and solid for karaoke nights).</p>
<p><span id="more-153"></span>
<p>Open up Terminal. Type &#8220;cd Music/Karaoke/CDG&#8221; or whatever to get into your karaoke folder.</p>
<p><strong>To copy to one folder:</strong></p>
<blockquote>
<p>mkdir ../onefolder/</p>
<p>find . -exec cp &#8220;{}&#8221; ../onefolder \; -print</p>
</blockquote>
<p><strong>To unzip all:</strong></p>
<blockquote><p>
  cd ../onefolder/
</p></blockquote>
<blockquote><p>
  find . -exec unzip -o &#8220;{}&#8221; \; -print
</p></blockquote>
<p><strong>To delete all (careful with this! If you&#8217;re not careful you could delete your entire hard drive!)</strong></p>
<blockquote><p>
  find ../onefolder/ -name &#8220;*.zip&#8221; -exec rm &#8220;{}&#8221; \; -print
</p></blockquote>
<p>If you don&#8217;t understand how terminal commands work, just use Finder and Spotlight to do the last step.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.karaokecrime.com/2009/01/how-to-unzip-a-ton-of-karaoke-tracks-mac-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

