Note if your files don't have periods in them, dir *. /b will grab
directories (and files without extensions).

On Mon, Feb 21, 2011 at 3:26 PM, Jonathan Link <[email protected]>wrote:

> You say subdirectories...as in directories under a folder...
> What's wrong with robocopy <source> <dest> /mir <include other flags as
> necessary>?
>
> Or grab a directory listing that's blank dir /b >directory.txt, filter the
> unneeded directories (and files) and use a for /f %f in (directory.txt) do
> robocopy X:\%f Y:\%f /mir <options>, where X is the source drive and y: is
> the destination drive....
>
>
>
>
> On Mon, Feb 21, 2011 at 3:20 PM, Paul Hutchings <[email protected]
> > wrote:
>
>>  You know the scenario, you need to copy a few hundred gigs worth of
>> specific sub directories from A to B.
>>
>>
>>
>> Robocopy is probably ideal but it’s a PITA to script all those folder
>> paths for a one-time operation, and if you do a ctrl-select and set the copy
>> off from Windows Explorer you can be pretty sure you’re going to walk in the
>> next day to find it’s got a problem with a single file half way through so
>> it’s cancelled the whole operation (with no real clue what and why it
>> happened).
>>
>>
>>
>> So, what do you use?
>>
>>
>>
>> I’ve tried Rich Copy which looks great, but in reality it just doesn’t
>> seem to work very well with multiple source folders.
>>
>>
>>
>> Thanks,
>>
>> Paul
>>  ------------------------------
>>  *MIRA Ltd*
>>
>> Watling Street, Nuneaton, Warwickshire, CV10 0TU, England
>>  Registered in England and Wales No. 402570
>> VAT Registration  GB 100 1464 84
>>
>> The contents of this e-mail are confidential and are solely for the use of
>> the intended recipient.  If you receive this e-mail in error, please delete
>> it and notify us either by e-mail, telephone or fax.  You should not copy,
>> forward or otherwise disclose the content of the e-mail as this is
>> prohibited.
>>
>> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
>> ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~
>>
>> ---
>> To manage subscriptions click here:
>> http://lyris.sunbelt-software.com/read/my_forums/
>> or send an email to [email protected]
>> with the body: unsubscribe ntsysadmin
>>
>
>

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin

Reply via email to