complex file movement problem

  • Thread starter Thread starter someothernickname
  • Start date Start date
S

someothernickname

How do I do the following?

I have a directory with about a thousand sub directories each
containing a font (ttf) along with information about the font. I want
to copy the .ttf files from each of these subdirectories into the
parent folder so I can use one of the font managers on the parent
folder without having to go into each subfolder to get the ttf file.

I'm thinking xcopy would do it, but I can't seem to work out what the
switches would be. Anyone up for the challenge of cmd script that
would do it?

TIA,

Brandon
 
someothernickname said:
How do I do the following?

I have a directory with about a thousand sub directories each
containing a font (ttf) along with information about the font. I want
to copy the .ttf files from each of these subdirectories into the
parent folder so I can use one of the font managers on the parent
folder without having to go into each subfolder to get the ttf file.

I'm thinking xcopy would do it, but I can't seem to work out what the
switches would be. Anyone up for the challenge of cmd script that
would do it?

Why use a script? Make two steps:
(1) do a recursive search (over your parent dir for *.ttf) that returns all
your TTFs
(2) select all and copy to your parent folder

That's how I'd do it in XP. Should work in Vista as well.

Don
 
Why use a script? Make two steps:
(1) do a recursive search (over your parent dir for *.ttf) that returns all
your TTFs
(2) select all and copy to your parent folder

That's how I'd do it in XP. Should work in Vista as well.

Don

BFO!! (blinding flash of the obvious)
As soon as I read your message I remembered doing exactly the same
thing on XP a couple years ago. Thanks for the rescue, :-)
 
Back
Top