<?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: File-to-folder script.</title> <atom:link href="http://www.thehtpc.net/htpc/file-to-folder-script/feed/" rel="self" type="application/rss+xml" /><link>http://www.thehtpc.net/htpc/file-to-folder-script/</link> <description>The Home Theater PC Weblog</description> <lastBuildDate>Thu, 11 Mar 2010 20:02:55 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>By: Jon</title><link>http://www.thehtpc.net/htpc/file-to-folder-script/comment-page-1/#comment-10613</link> <dc:creator>Jon</dc:creator> <pubDate>Thu, 11 Mar 2010 20:02:55 +0000</pubDate> <guid
isPermaLink="false">http://www.thehtpc.net/?p=346#comment-10613</guid> <description>I don&#039;t have anything to undo it.  You could do a simple search by extensions (ex.: *.avi, *.mkv) and then cut and paste all the found files to a different directory quite easily though.</description> <content:encoded><![CDATA[<br>Browser: <a
href='http://google.com/chrome/' title='Google Chrome 4.0.249.89' rel='nofollow'>Google Chrome 4.0.249.89</a> OS: <a
href='http://www.microsoft.com/windows/' title='Windows 7' rel='nofollow'>Windows 7</a><p>I don&#8217;t have anything to undo it.  You could do a simple search by extensions (ex.: *.avi, *.mkv) and then cut and paste all the found files to a different directory quite easily though.</p> ]]></content:encoded> </item> <item><title>By: Richard</title><link>http://www.thehtpc.net/htpc/file-to-folder-script/comment-page-1/#comment-10607</link> <dc:creator>Richard</dc:creator> <pubDate>Thu, 11 Mar 2010 15:58:23 +0000</pubDate> <guid
isPermaLink="false">http://www.thehtpc.net/?p=346#comment-10607</guid> <description>I used this and it worked perfectly, thanks!But - how would I reverse this action?Is their a script that can undo this, and take the files back out of folders??I ask, because I may one day not want Thumbnails, and want my movies in list format as they were before I ran this script.Thanks</description> <content:encoded><![CDATA[<br>Browser: <a
href='http://www.mozilla.org/' title='Firefox 3.5.8' rel='nofollow'>Firefox 3.5.8</a> OS: <a
href='http://www.microsoft.com/windows/' title='Windows XP' rel='nofollow'>Windows XP</a><p>I used this and it worked perfectly, thanks!</p><p>But &#8211; how would I reverse this action?</p><p>Is their a script that can undo this, and take the files back out of folders??</p><p>I ask, because I may one day not want Thumbnails, and want my movies in list format as they were before I ran this script.</p><p>Thanks</p> ]]></content:encoded> </item> <item><title>By: Jon</title><link>http://www.thehtpc.net/htpc/file-to-folder-script/comment-page-1/#comment-10482</link> <dc:creator>Jon</dc:creator> <pubDate>Fri, 05 Mar 2010 12:55:21 +0000</pubDate> <guid
isPermaLink="false">http://www.thehtpc.net/?p=346#comment-10482</guid> <description>Yep, it&#039;s in the download section.</description> <content:encoded><![CDATA[<br>Browser: <a
href='http://google.com/chrome/' title='Google Chrome 4.0.249.89' rel='nofollow'>Google Chrome 4.0.249.89</a> OS: <a
href='http://www.microsoft.com/windows/' title='Windows 7' rel='nofollow'>Windows 7</a><p>Yep, it&#8217;s in the download section.</p> ]]></content:encoded> </item> <item><title>By: kay_emi</title><link>http://www.thehtpc.net/htpc/file-to-folder-script/comment-page-1/#comment-10477</link> <dc:creator>kay_emi</dc:creator> <pubDate>Fri, 05 Mar 2010 09:15:28 +0000</pubDate> <guid
isPermaLink="false">http://www.thehtpc.net/?p=346#comment-10477</guid> <description>Update 2:It appears there may be an issue with copying the code off this post and inserting it into your own .bat file.  So, in order to reduce (or resolve) the issues with it, I’m including the exact .bat file that I use.  So far, there have been no reported issues with it.  You can get it here (RAR format).Hi Guys this file no longer exists. Can anyone help.</description> <content:encoded><![CDATA[<br>Browser: <a
href='http://www.mozilla.org/' title='Firefox 3.6' rel='nofollow'>Firefox 3.6</a> OS: <a
href='http://www.microsoft.com/windows/' title='Windows 7' rel='nofollow'>Windows 7</a><p>Update 2:</p><p>It appears there may be an issue with copying the code off this post and inserting it into your own .bat file.  So, in order to reduce (or resolve) the issues with it, I’m including the exact .bat file that I use.  So far, there have been no reported issues with it.  You can get it here (RAR format).</p><p>Hi Guys this file no longer exists. Can anyone help.</p> ]]></content:encoded> </item> <item><title>By: Jon</title><link>http://www.thehtpc.net/htpc/file-to-folder-script/comment-page-1/#comment-10458</link> <dc:creator>Jon</dc:creator> <pubDate>Thu, 04 Mar 2010 13:02:51 +0000</pubDate> <guid
isPermaLink="false">http://www.thehtpc.net/?p=346#comment-10458</guid> <description>I fixed it for you.  Wordpress does this by design...it&#039;s not so much a bug (but an inconvenience either way).  You can copy in tabbed spaces so long as you enclose you enclose it within &lt;pre&gt;&lt;/pre&gt;.I also used the code tag since not using can introduce some oddities when copying text directly from Wordpress...especially script code.</description> <content:encoded><![CDATA[<br>Browser: <a
href='http://google.com/chrome/' title='Google Chrome 4.0.249.89' rel='nofollow'>Google Chrome 4.0.249.89</a> OS: <a
href='http://www.microsoft.com/windows/' title='Windows 7' rel='nofollow'>Windows 7</a><p>I fixed it for you.  Wordpress does this by design&#8230;it&#8217;s not so much a bug (but an inconvenience either way).  You can copy in tabbed spaces so long as you enclose you enclose it within &lt;pre&gt;&lt;/pre&gt;.</p><p>I also used the code tag since not using can introduce some oddities when copying text directly from Wordpress&#8230;especially script code.</p> ]]></content:encoded> </item> <item><title>By: MattWA</title><link>http://www.thehtpc.net/htpc/file-to-folder-script/comment-page-1/#comment-10457</link> <dc:creator>MattWA</dc:creator> <pubDate>Thu, 04 Mar 2010 10:59:44 +0000</pubDate> <guid
isPermaLink="false">http://www.thehtpc.net/?p=346#comment-10457</guid> <description>It seems when posting on here the tabbed spaces are removed which cause the above linux scripts to not work, as previously mentioned by others.. guess I didn&#039;t see that.The lines starting with mkdir, directory, and mv, are tabbed spaced.</description> <content:encoded><![CDATA[<br>Browser: <a
href='http://www.mozilla.org/' title='Firefox 3.0.15' rel='nofollow'>Firefox 3.0.15</a> OS: <a
href='http://www.fedoraproject.org/' title='Fedora 10' rel='nofollow'>Fedora 10</a><p>It seems when posting on here the tabbed spaces are removed which cause the above linux scripts to not work, as previously mentioned by others.. guess I didn&#8217;t see that.</p><p>The lines starting with mkdir, directory, and mv, are tabbed spaced.</p> ]]></content:encoded> </item> <item><title>By: MattWA</title><link>http://www.thehtpc.net/htpc/file-to-folder-script/comment-page-1/#comment-10456</link> <dc:creator>MattWA</dc:creator> <pubDate>Thu, 04 Mar 2010 10:52:46 +0000</pubDate> <guid
isPermaLink="false">http://www.thehtpc.net/?p=346#comment-10456</guid> <description>I wasn&#039;t able to get the above Linux script to work so figured another way to do it.this is for Linux, not windows. This will work provided there is only one file associated with the movie. If you have other stuff like folder.jpg or something it probably won&#039;t be suitable.Thanks,&lt;pre&gt;&lt;code&gt;#!/bin/bash
find . -name &#039;*.*&#039; &#124; \
while read filename
do
mkdir &quot;${filename%.*}&quot;
directory=${filename%.*}
mv &quot;$filename&quot; &quot;$directory&quot;/&quot;$filename&quot;
done&lt;/code&gt;&lt;/pre&gt;</description> <content:encoded><![CDATA[<br>Browser: <a
href='http://www.mozilla.org/' title='Firefox 3.0.15' rel='nofollow'>Firefox 3.0.15</a> OS: <a
href='http://www.fedoraproject.org/' title='Fedora 10' rel='nofollow'>Fedora 10</a><p>I wasn&#8217;t able to get the above Linux script to work so figured another way to do it.</p><p>this is for Linux, not windows. This will work provided there is only one file associated with the movie. If you have other stuff like folder.jpg or something it probably won&#8217;t be suitable.</p><p>Thanks,</p><pre><code>#!/bin/bash
find . -name '*.*' | \
while read filename
do
      mkdir "${filename%.*}"
      directory=${filename%.*}
      mv "$filename" "$directory"/"$filename"
done</code></pre>]]></content:encoded> </item> <item><title>By: Jon</title><link>http://www.thehtpc.net/htpc/file-to-folder-script/comment-page-1/#comment-10390</link> <dc:creator>Jon</dc:creator> <pubDate>Mon, 01 Mar 2010 00:43:19 +0000</pubDate> <guid
isPermaLink="false">http://www.thehtpc.net/?p=346#comment-10390</guid> <description>There&#039;s only an issue if you run it against a network share that is not locally mapped to a drive letter.  The quotes are necessary if you have space in any of your movie names or paths.</description> <content:encoded><![CDATA[<br>Browser: <a
href='http://google.com/chrome/' title='Google Chrome 4.0.249.89' rel='nofollow'>Google Chrome 4.0.249.89</a> OS: <a
href='http://www.microsoft.com/windows/' title='Windows 7' rel='nofollow'>Windows 7</a><p>There&#8217;s only an issue if you run it against a network share that is not locally mapped to a drive letter.  The quotes are necessary if you have space in any of your movie names or paths.</p> ]]></content:encoded> </item> <item><title>By: Matt</title><link>http://www.thehtpc.net/htpc/file-to-folder-script/comment-page-1/#comment-10389</link> <dc:creator>Matt</dc:creator> <pubDate>Sun, 28 Feb 2010 23:54:01 +0000</pubDate> <guid
isPermaLink="false">http://www.thehtpc.net/?p=346#comment-10389</guid> <description>I too had the issue where it moved everything in c:\windows rather than the directory it was in. It might have something to do with the quote marks you use. My issue was on WHS (Windows Server 2003).Time to rebuild :(</description> <content:encoded><![CDATA[<br>Browser: <a
href='http://google.com/chrome/' title='Google Chrome 4.0.249.89' rel='nofollow'>Google Chrome 4.0.249.89</a> OS: <a
href='http://www.microsoft.com/windows/' title='Windows XP' rel='nofollow'>Windows XP</a><p>I too had the issue where it moved everything in c:\windows rather than the directory it was in. It might have something to do with the quote marks you use. My issue was on WHS (Windows Server 2003).</p><p>Time to rebuild :(</p> ]]></content:encoded> </item> <item><title>By: Film Info! Organizer, MetaDaten für Filme in Deutsch &#171;Hyperraum-Umgehungsstrasse</title><link>http://www.thehtpc.net/htpc/file-to-folder-script/comment-page-1/#comment-9733</link> <dc:creator>Film Info! Organizer, MetaDaten für Filme in Deutsch &#171;Hyperraum-Umgehungsstrasse</dc:creator> <pubDate>Fri, 29 Jan 2010 11:56:45 +0000</pubDate> <guid
isPermaLink="false">http://www.thehtpc.net/?p=346#comment-9733</guid> <description>[...] dem Filmnamen erstellt und der besagte Film in diesen Ordner verschoben. Hierzu gibt es auch ein kleines Script (File-to-Folder), welches die Aufgabe gut erledigen [...]</description> <content:encoded><![CDATA[<a
href='http://www.wordpress.org/' title='WordPress 2.9.1' rel='nofollow'>WordPress 2.9.1</a><p>[...] dem Filmnamen erstellt und der besagte Film in diesen Ordner verschoben. Hierzu gibt es auch ein kleines Script (File-to-Folder), welches die Aufgabe gut erledigen [...]</p> ]]></content:encoded> </item> </channel> </rss>
<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 108/128 queries in 0.107 seconds using disk

Served from: perfora.net @ 2010-03-15 09:51:34 -->