Haven't tried, but by using the right combination of <move>, a <dirset> that
selects all path containing 'foo', and a regex <mapper>, it could be
possible... BUT, I'm not sure whether <move> supports <dirset> (the new
<dirset> and <filelist> are not that supported), and I don't know how to
select only directories with <fileset>. Writing a custom task might be your
only ticket (or some of Diane's <script> wizardry ;-) --DD

-----Original Message-----
From: etienne studer [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, August 14, 2002 1:20 AM
To: [EMAIL PROTECTED]
Subject: recursive folder renaming

Does anyone know an elegant way how to do a recursive folder renaming for a
specified folder name - without having to write an extension?
e.g. recursively find all 'foo' folders in c:\ and rename them to 'temp':

  c:\xxx
      yyy
        foo
  c:\foo
      aaa
  c:\mmm
      foo
        nnn

becomes

  c:\xxx
      yyy
        temp
  c:\temp
      aaa
  c:\mmm
      temp
        nnn

thanks in advance, etienne




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to