<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
<channel>
  <title>Linux Format forums</title>
  <link>http://www.linuxformat.com/forums/index.php</link>
  <description>Help, discussion, magazine feedback and more</description>
  <language>english</language>
  <copyright>(c) Copyright Wed May 22, 2013 7:20 am by Linux Format forums</copyright>
  <managingEditor>webmaster@linuxformat.com</managingEditor>
  <webMaster>webmaster@linuxformat.com</webMaster>
  <pubDate>Wed May 22, 2013 7:20 am</pubDate>
  <lastBuildDate>Wed May 22, 2013 7:20 am</lastBuildDate>
  <docs>http://backend.userland.com/rss</docs>
  <generator>phpBB2 RSS Syndication Mod by Lucas</generator>
  <ttl>1</ttl>

  <image>
    <title>Linux Format forums</title>
    <url></url>
    <link>http://www.linuxformat.com/forums/</link>
    <description>Help, discussion, magazine feedback and more</description>
  </image>

                                      <item>
                                        <title>RE: Re: bash: stripping numeric characters from filenames</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=29227#29227</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=167'&gt;nordle&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Tue Aug 08, 2006 10:08 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      02_name_of_artist_name_of track.ogg&lt;br /&gt;
&lt;br /&gt;
But surely the best you can ever hope for with pattern matching is &lt;br /&gt;
&lt;br /&gt;
name_of_artist_name_of track.ogg&lt;br /&gt;
&lt;br /&gt;
Unless you started with something like:&lt;br /&gt;
&lt;br /&gt;
02_name_of_artist__name_of track.ogg</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=29227#29227</comments>
                                        <author>nordle</author>
                                        <pubDate>Tue Aug 08, 2006 10:08 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=29227#29227</guid>
                                      </item>
                                      <item>
                                        <title>RE: Re: bash: stripping numeric characters from filenames</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=29087#29087</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=4495'&gt;emyr42&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Aug 07, 2006 12:13 pm&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Shouldn't your code be reading from the ogg file's metadata to find the track name?</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=29087#29087</comments>
                                        <author>emyr42</author>
                                        <pubDate>Mon Aug 07, 2006 12:13 pm</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=29087#29087</guid>
                                      </item>
                                      <item>
                                        <title>RE: Re: bash: stripping numeric characters from filenames</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=29070#29070</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=237'&gt;mugstar&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Aug 07, 2006 12:45 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      Aargghhh!! Two seperate ones! &lt;br /&gt;
&lt;br /&gt;
Thanks!</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=29070#29070</comments>
                                        <author>mugstar</author>
                                        <pubDate>Mon Aug 07, 2006 12:45 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=29070#29070</guid>
                                      </item>
                                      <item>
                                        <title>Re: bash: stripping numeric characters from filenames</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=29068#29068</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=5'&gt;nelz&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Aug 07, 2006 12:32 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      &lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;for i in *.ogg; do mv &amp;quot;$i&amp;quot; &amp;quot;$&amp;#123;i/&amp;#91;0-9&amp;#93;&amp;#91;0-9&amp;#93;_name_of_artist_&amp;#125;&amp;quot;; done&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt;</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=29068#29068</comments>
                                        <author>nelz</author>
                                        <pubDate>Mon Aug 07, 2006 12:32 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=29068#29068</guid>
                                      </item>
                                      <item>
                                        <title>bash: stripping numeric characters from filenames</title>
                                        <link>http://www.linuxformat.com/forums/viewtopic.php?p=29067#29067</link>
                                        <description>&lt;br /&gt;
                                      Author: &lt;a href='http://www.linuxformat.com/forums/profile.php?mode=viewprofile&amp;u=237'&gt;mugstar&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
                                      Posted: Mon Aug 07, 2006 12:13 am&lt;br /&gt;&lt;br /&gt;
                                      &lt;br /&gt;&lt;br /&gt;
                                      (I just know this will involve regular expressions ...  &lt;img src=&quot;images/smiles/icon_sad.gif&quot; alt=&quot;Sad&quot; border=&quot;0&quot; /&gt; )&lt;br /&gt;
&lt;br /&gt;
I have a collection of mp3's and ogg's, a lot of which take the form 02_name_of_artist_name_of track.ogg. What I want to end up with is a file called name_of_track.ogg.&lt;br /&gt;
&lt;br /&gt;
 I know that I can use &lt;/span&gt;&lt;table width=&quot;90%&quot; cellspacing=&quot;1&quot; cellpadding=&quot;3&quot; border=&quot;0&quot; align=&quot;center&quot;&gt;&lt;tr&gt; 	  &lt;td&gt;&lt;span class=&quot;genmed&quot;&gt;&lt;b&gt;Code:&lt;/b&gt;&lt;/span&gt;&lt;/td&gt;	&lt;/tr&gt;	&lt;tr&gt;	  &lt;td class=&quot;code&quot;&gt;for i in *.ogg; do mv &amp;quot;$i&amp;quot; &amp;quot;$&amp;#123;i/_name_of_artist_&amp;#125;&amp;quot;; done&lt;/td&gt;	&lt;/tr&gt;&lt;/table&gt;&lt;span class=&quot;postbody&quot;&gt; to strip some of the filename out, but I'm messing up when trying to remove the track numbers from the start of more than one file.&lt;br /&gt;
&lt;br /&gt;
Anybody?</description>
                                        <comments>http://www.linuxformat.com/forums/viewtopic.php?p=29067#29067</comments>
                                        <author>mugstar</author>
                                        <pubDate>Mon Aug 07, 2006 12:13 am</pubDate>
                                        <guid isPermaLink="true">http://www.linuxformat.com/forums/viewtopic.php?p=29067#29067</guid>
                                      </item></channel></rss>