<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
	<title>Comments for theHTPC.net</title>
	
	<link>http://www.thehtpc.net</link>
	<description>The Home Theater PC Blog: Your HTPC Resource</description>
	<lastBuildDate>Wed, 15 Feb 2012 22:03:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/commentsforthehtpcnet" /><feedburner:info uri="commentsforthehtpcnet" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Comment on File-to-folder script. by Oldschool</title>
		<link>http://feedproxy.google.com/~r/commentsforthehtpcnet/~3/i3skY3yPWQo/</link>
		<dc:creator>Oldschool</dc:creator>
		<pubDate>Wed, 15 Feb 2012 22:03:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.thehtpc.net/?p=346#comment-24020</guid>
		<description>Had to modify the Unix/Ubuntu BASH script because I was tired of moving things around after I ran the script (it would place the file2folder.sh script in its own folder, which I didn't like).  This new script works pretty well.  

#!/bin/bash
find . -name '*.*' -type f | \
while read target_file
do
	target_directory=`dirname "${target_file}"`
	target_filename=`basename "${target_file}"`
	new_foldername="${target_filename%.*}"
	new_filename="${target_filename}"

#	echo "Target File = ${target_file}"
#	echo "Target Directory = ${target_directory}"
#	echo "Target Filename = ${target_filename}"
#	echo "New Path =  ${new_foldername}/${new_filename}"

	if [ "$target_filename" = 'file2folder.sh' ]; then
		echo "**** Skipping file2folder.sh *****"
	else
		if [ -d "${new_foldername}" ]; then
			echo "*** Directory exists for ${new_foldername} ***"
		else
   			mkdir "${new_foldername}"
		fi
		mv "${target_file}" "${new_foldername}"/"${new_filename}"
	fi
done


Finally, this script moves all the files but doesn't empty out the folders.  If you want to do that, just run this command after you're done:
find -type d -empty -delete</description>
		<content:encoded><![CDATA[<p>Had to modify the Unix/Ubuntu BASH script because I was tired of moving things around after I ran the script (it would place the file2folder.sh script in its own folder, which I didn&#8217;t like).  This new script works pretty well.  </p>
<p>#!/bin/bash<br />
find . -name &#8216;*.*&#8217; -type f | \<br />
while read target_file<br />
do<br />
	target_directory=`dirname &#8220;${target_file}&#8221;`<br />
	target_filename=`basename &#8220;${target_file}&#8221;`<br />
	new_foldername=&#8221;${target_filename%.*}&#8221;<br />
	new_filename=&#8221;${target_filename}&#8221;</p>
<p>#	echo &#8220;Target File = ${target_file}&#8221;<br />
#	echo &#8220;Target Directory = ${target_directory}&#8221;<br />
#	echo &#8220;Target Filename = ${target_filename}&#8221;<br />
#	echo &#8220;New Path =  ${new_foldername}/${new_filename}&#8221;</p>
<p>	if [ "$target_filename" = 'file2folder.sh' ]; then<br />
		echo &#8220;**** Skipping file2folder.sh *****&#8221;<br />
	else<br />
		if [ -d "${new_foldername}" ]; then<br />
			echo &#8220;*** Directory exists for ${new_foldername} ***&#8221;<br />
		else<br />
   			mkdir &#8220;${new_foldername}&#8221;<br />
		fi<br />
		mv &#8220;${target_file}&#8221; &#8220;${new_foldername}&#8221;/&#8221;${new_filename}&#8221;<br />
	fi<br />
done</p>
<p>Finally, this script moves all the files but doesn&#8217;t empty out the folders.  If you want to do that, just run this command after you&#8217;re done:<br />
find -type d -empty -delete</p>

<p><a href="http://feedads.g.doubleclick.net/~a/ggMmjyS6XRF2ykYxfqduHepr6Zs/0/da"><img src="http://feedads.g.doubleclick.net/~a/ggMmjyS6XRF2ykYxfqduHepr6Zs/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ggMmjyS6XRF2ykYxfqduHepr6Zs/1/da"><img src="http://feedads.g.doubleclick.net/~a/ggMmjyS6XRF2ykYxfqduHepr6Zs/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/commentsforthehtpcnet/~4/i3skY3yPWQo" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.thehtpc.net/htpc/file-to-folder-script/#comment-24020</feedburner:origLink></item>
	<item>
		<title>Comment on File-to-folder script. by Mr P.I.C.N.I.C.</title>
		<link>http://feedproxy.google.com/~r/commentsforthehtpcnet/~3/ctu45LgrZDo/</link>
		<dc:creator>Mr P.I.C.N.I.C.</dc:creator>
		<pubDate>Tue, 14 Feb 2012 20:34:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.thehtpc.net/?p=346#comment-24019</guid>
		<description>Ok, Thanks again.
It works perfect [XP SP3]</description>
		<content:encoded><![CDATA[<p>Ok, Thanks again.<br />
It works perfect [XP SP3]</p>

<p><a href="http://feedads.g.doubleclick.net/~a/Q2JXEmQaQ_ZtDfRhdGosxQbXHGo/0/da"><img src="http://feedads.g.doubleclick.net/~a/Q2JXEmQaQ_ZtDfRhdGosxQbXHGo/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Q2JXEmQaQ_ZtDfRhdGosxQbXHGo/1/da"><img src="http://feedads.g.doubleclick.net/~a/Q2JXEmQaQ_ZtDfRhdGosxQbXHGo/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/commentsforthehtpcnet/~4/ctu45LgrZDo" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.thehtpc.net/htpc/file-to-folder-script/#comment-24019</feedburner:origLink></item>
	<item>
		<title>Comment on File-to-folder script. by Jon</title>
		<link>http://feedproxy.google.com/~r/commentsforthehtpcnet/~3/hEIdQNqbpIE/</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Tue, 14 Feb 2012 19:46:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.thehtpc.net/?p=346#comment-24018</guid>
		<description>Yes...it will leave folders alone.</description>
		<content:encoded><![CDATA[<p>Yes&#8230;it will leave folders alone.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/9xActlJExO3UG9REuoh_4_9SsL8/0/da"><img src="http://feedads.g.doubleclick.net/~a/9xActlJExO3UG9REuoh_4_9SsL8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/9xActlJExO3UG9REuoh_4_9SsL8/1/da"><img src="http://feedads.g.doubleclick.net/~a/9xActlJExO3UG9REuoh_4_9SsL8/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/commentsforthehtpcnet/~4/hEIdQNqbpIE" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.thehtpc.net/htpc/file-to-folder-script/#comment-24018</feedburner:origLink></item>
	<item>
		<title>Comment on File-to-folder script. by Mr P.I.C.N.I.C.</title>
		<link>http://feedproxy.google.com/~r/commentsforthehtpcnet/~3/vGoFFAb4SOw/</link>
		<dc:creator>Mr P.I.C.N.I.C.</dc:creator>
		<pubDate>Tue, 14 Feb 2012 19:18:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.thehtpc.net/?p=346#comment-24017</guid>
		<description>I think it didn't work because most of us didn't attribute it to 'hidden', forcing it to include itself as one of the files to be copied in the batch (I think o_O) . . .

Anyway, THANKS A TRILLION. :-)

Q: If you put it in a directory that has both files and folders will it only target files?

Regards,
P.I.C.N.I.C. (Problem In Chair Not In Computer)</description>
		<content:encoded><![CDATA[<p>I think it didn&#8217;t work because most of us didn&#8217;t attribute it to &#8216;hidden&#8217;, forcing it to include itself as one of the files to be copied in the batch (I think o_O) . . .</p>
<p>Anyway, THANKS A TRILLION. :-)</p>
<p>Q: If you put it in a directory that has both files and folders will it only target files?</p>
<p>Regards,<br />
P.I.C.N.I.C. (Problem In Chair Not In Computer)</p>

<p><a href="http://feedads.g.doubleclick.net/~a/tUkW4JN_222OgaB7kJg4I491zKI/0/da"><img src="http://feedads.g.doubleclick.net/~a/tUkW4JN_222OgaB7kJg4I491zKI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/tUkW4JN_222OgaB7kJg4I491zKI/1/da"><img src="http://feedads.g.doubleclick.net/~a/tUkW4JN_222OgaB7kJg4I491zKI/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/commentsforthehtpcnet/~4/vGoFFAb4SOw" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.thehtpc.net/htpc/file-to-folder-script/#comment-24017</feedburner:origLink></item>
	<item>
		<title>Comment on Windows 2008 Server and Event ID 2012 warnings. by Yvonne</title>
		<link>http://feedproxy.google.com/~r/commentsforthehtpcnet/~3/ZPFo8-9-eL4/</link>
		<dc:creator>Yvonne</dc:creator>
		<pubDate>Mon, 13 Feb 2012 13:32:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.thehtpc.net/?p=5527#comment-24008</guid>
		<description>Windows 2008 comes with a default Denial of Service (DoS) prevention.
It allows only 50 concurrent tcp connections from one ip address. This is NOT set in the registry, no use to search for it.
Increasing the number of allowed connections has as result increasing use of memory, which the server reserves for the potential higher connection count.

You can disable the DoS prevention with the registry key dword disableDos=1

This stops events 2012, 2025 and 2026.</description>
		<content:encoded><![CDATA[<p>Windows 2008 comes with a default Denial of Service (DoS) prevention.<br />
It allows only 50 concurrent tcp connections from one ip address. This is NOT set in the registry, no use to search for it.<br />
Increasing the number of allowed connections has as result increasing use of memory, which the server reserves for the potential higher connection count.</p>
<p>You can disable the DoS prevention with the registry key dword disableDos=1</p>
<p>This stops events 2012, 2025 and 2026.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/52Ctp1hSJmevDfYHZD7y2zPZ2w4/0/da"><img src="http://feedads.g.doubleclick.net/~a/52Ctp1hSJmevDfYHZD7y2zPZ2w4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/52Ctp1hSJmevDfYHZD7y2zPZ2w4/1/da"><img src="http://feedads.g.doubleclick.net/~a/52Ctp1hSJmevDfYHZD7y2zPZ2w4/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/commentsforthehtpcnet/~4/ZPFo8-9-eL4" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.thehtpc.net/htpc-tips-and-tweaks/windows-2008-server-and-event-id-2012-warnings/#comment-24008</feedburner:origLink></item>
	<item>
		<title>Comment on File-to-folder script. by ryan</title>
		<link>http://feedproxy.google.com/~r/commentsforthehtpcnet/~3/K0TvfqR6kyQ/</link>
		<dc:creator>ryan</dc:creator>
		<pubDate>Fri, 03 Feb 2012 15:24:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.thehtpc.net/?p=346#comment-23973</guid>
		<description>This worked great for me on Win7 Pro x64. Copied the text straight from your post. Saved me tons of time. Many thanks.</description>
		<content:encoded><![CDATA[<p>This worked great for me on Win7 Pro x64. Copied the text straight from your post. Saved me tons of time. Many thanks.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/eMWTfw6Es6yYYqT7pC2swFzl0cM/0/da"><img src="http://feedads.g.doubleclick.net/~a/eMWTfw6Es6yYYqT7pC2swFzl0cM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/eMWTfw6Es6yYYqT7pC2swFzl0cM/1/da"><img src="http://feedads.g.doubleclick.net/~a/eMWTfw6Es6yYYqT7pC2swFzl0cM/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/commentsforthehtpcnet/~4/K0TvfqR6kyQ" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.thehtpc.net/htpc/file-to-folder-script/#comment-23973</feedburner:origLink></item>
	<item>
		<title>Comment on Movie reviews (1-9-12) by Edan</title>
		<link>http://feedproxy.google.com/~r/commentsforthehtpcnet/~3/nct89h0F2_o/</link>
		<dc:creator>Edan</dc:creator>
		<pubDate>Thu, 02 Feb 2012 10:47:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.thehtpc.net/?p=6040#comment-23927</guid>
		<description>Disagree entirely on Conan. What a complete load of rubbish! The costumes and set pieces were as awful as the shows Xena and Hercules (like people playing dressups or a LARP convention). As for The Thing prequel, I actually really enjoyed it. You should watch the new one followed by the 1982 version (which isn't the original, btw). It's pretty great how closely they matched the end scene in the new on with the opening scene of the Carpenter film (my second fave Carpenter film, actually). Also, I disagree with you on Contagion. My wife and I both quite enjoyed it. I think we must have really different tastes in films, because I though Apollo 18 was terrible too.</description>
		<content:encoded><![CDATA[<p>Disagree entirely on Conan. What a complete load of rubbish! The costumes and set pieces were as awful as the shows Xena and Hercules (like people playing dressups or a LARP convention). As for The Thing prequel, I actually really enjoyed it. You should watch the new one followed by the 1982 version (which isn&#8217;t the original, btw). It&#8217;s pretty great how closely they matched the end scene in the new on with the opening scene of the Carpenter film (my second fave Carpenter film, actually). Also, I disagree with you on Contagion. My wife and I both quite enjoyed it. I think we must have really different tastes in films, because I though Apollo 18 was terrible too.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/1Hgqsom4OYI296IR5hXuIwttIXk/0/da"><img src="http://feedads.g.doubleclick.net/~a/1Hgqsom4OYI296IR5hXuIwttIXk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/1Hgqsom4OYI296IR5hXuIwttIXk/1/da"><img src="http://feedads.g.doubleclick.net/~a/1Hgqsom4OYI296IR5hXuIwttIXk/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/commentsforthehtpcnet/~4/nct89h0F2_o" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.thehtpc.net/movies/movie-reviews-1-9-12/#comment-23927</feedburner:origLink></item>
	<item>
		<title>Comment on In case you missed it – Windows 8 and Media Center (yes, it’s in there). by Thomas Bale</title>
		<link>http://feedproxy.google.com/~r/commentsforthehtpcnet/~3/0pfFAtS8UgU/</link>
		<dc:creator>Thomas Bale</dc:creator>
		<pubDate>Sat, 28 Jan 2012 21:34:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.thehtpc.net/?p=5800#comment-23798</guid>
		<description>Agreed, we would need to see some improvments to convince us to upgrade all our devices to Win8, especially the HTPC.</description>
		<content:encoded><![CDATA[<p>Agreed, we would need to see some improvments to convince us to upgrade all our devices to Win8, especially the HTPC.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/VSvQ485jPRKIV4bxBnKdWhEMX7A/0/da"><img src="http://feedads.g.doubleclick.net/~a/VSvQ485jPRKIV4bxBnKdWhEMX7A/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/VSvQ485jPRKIV4bxBnKdWhEMX7A/1/da"><img src="http://feedads.g.doubleclick.net/~a/VSvQ485jPRKIV4bxBnKdWhEMX7A/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/commentsforthehtpcnet/~4/0pfFAtS8UgU" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.thehtpc.net/htpc/in-case-you-missed-it-windows-8-and-media-center-yes-its-in-there/#comment-23798</feedburner:origLink></item>
	<item>
		<title>Comment on Fix for x64 version of MacroTube for Media Center. by Ken</title>
		<link>http://feedproxy.google.com/~r/commentsforthehtpcnet/~3/tgDQUqsdz3A/</link>
		<dc:creator>Ken</dc:creator>
		<pubDate>Sat, 28 Jan 2012 04:49:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.thehtpc.net/?p=5405#comment-23773</guid>
		<description>I wish this worked for me. I updated with the latest files but the same video not available or a technical issue message comes up for any video. :-/</description>
		<content:encoded><![CDATA[<p>I wish this worked for me. I updated with the latest files but the same video not available or a technical issue message comes up for any video. :-/</p>

<p><a href="http://feedads.g.doubleclick.net/~a/0IwTsnRgfwgMJPcm1ciPT0qm7f8/0/da"><img src="http://feedads.g.doubleclick.net/~a/0IwTsnRgfwgMJPcm1ciPT0qm7f8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/0IwTsnRgfwgMJPcm1ciPT0qm7f8/1/da"><img src="http://feedads.g.doubleclick.net/~a/0IwTsnRgfwgMJPcm1ciPT0qm7f8/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/commentsforthehtpcnet/~4/tgDQUqsdz3A" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.thehtpc.net/htpc/fix-for-x64-version-of-macrotube-for-media-center/#comment-23773</feedburner:origLink></item>
	<item>
		<title>Comment on Media Browser changing XML file name. by Dallas</title>
		<link>http://feedproxy.google.com/~r/commentsforthehtpcnet/~3/Q2C9onaNh1g/</link>
		<dc:creator>Dallas</dc:creator>
		<pubDate>Mon, 16 Jan 2012 21:28:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.thehtpc.net/?p=6015#comment-23713</guid>
		<description>Hi,

How do I get the batch to keep mymovies.xml and do a copy of the xml file to movie.xml?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>How do I get the batch to keep mymovies.xml and do a copy of the xml file to movie.xml?</p>

<p><a href="http://feedads.g.doubleclick.net/~a/JQtoAhxbLHLq9ODzxENecuAcdcQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/JQtoAhxbLHLq9ODzxENecuAcdcQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/JQtoAhxbLHLq9ODzxENecuAcdcQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/JQtoAhxbLHLq9ODzxENecuAcdcQ/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/commentsforthehtpcnet/~4/Q2C9onaNh1g" height="1" width="1"/>]]></content:encoded>
	<feedburner:origLink>http://www.thehtpc.net/htpc/media-browser-changing-xml-file-name/#comment-23713</feedburner:origLink></item>
</channel>
</rss><!--
Hyper cache file: 88abade28130d7460265dfd04037255c
Cache created: 19-02-2012 01:18:51
HCE Version: 0.9.8
Load AVG: 0(5)
-->

