Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Robocopy help

Windows Server Help


Reply
 
Thread Tools Search this Thread
  #1  
Old 31-07-2008
Cyborg
 
Posts: n/a
Robocopy help

Hi,

I'm using robocopy.exe to move old files to another server, I have started
copying files that are create from 31/12/2000 and before. Now all the files
do get moved across, but it will also create the entire orginal folder
structure, so I get folders with nothing in them because no file meet that
age, so why does it create the fodlers?


eg robocopy.exe G:\marketing F:\Archive\Marketing\2000 /E /copyall /move
/minage:20001231


Reply With Quote
  #2  
Old 31-07-2008
Meinolf Weber
 
Posts: n/a
Re: Robocopy help

Hello cyborg,

You are using the /E:

/E :: copy subdirectories, including Empty ones

choose:

/S :: copy Subdirectories, but not empty ones

Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm

> Hi,
>
> I'm using robocopy.exe to move old files to another server, I have
> started copying files that are create from 31/12/2000 and before. Now
> all the files do get moved across, but it will also create the entire
> orginal folder structure, so I get folders with nothing in them
> because no file meet that age, so why does it create the fodlers?
>
> eg robocopy.exe G:\marketing F:\Archive\Marketing\2000 /E /copyall
> /move /minage:20001231
>



Reply With Quote
  #3  
Old 31-07-2008
Anthony [MVP]
 
Posts: n/a
Re: Robocopy help

Robocopy /? will tell you the commands.
/E = copy subfolders including empty subfolders.
/S = copy subfolders (but not empty)
Anthony,
http://www.airdesk.com



"Cyborg" <apollo13@btinternet.com> wrote in message
news:EC2813BB-AA58-49CC-A0A5-A8DDA30B4804@microsoft.com...
> Hi,
>
> I'm using robocopy.exe to move old files to another server, I have started
> copying files that are create from 31/12/2000 and before. Now all the
> files do get moved across, but it will also create the entire orginal
> folder structure, so I get folders with nothing in them because no file
> meet that age, so why does it create the fodlers?
>
>
> eg robocopy.exe G:\marketing F:\Archive\Marketing\2000 /E /copyall /move
> /minage:20001231



Reply With Quote
  #4  
Old 31-07-2008
Cyborg
 
Posts: n/a
Re: Robocopy help

Tried that do I need to keep the /copyall as it still seemed to copy empty
folders


"Anthony [MVP]" <anthony@no-reply.com> wrote in message
news:OOfSRSu8IHA.2416@TK2MSFTNGP02.phx.gbl...
> Robocopy /? will tell you the commands.
> /E = copy subfolders including empty subfolders.
> /S = copy subfolders (but not empty)
> Anthony,
> http://www.airdesk.com
>
>
>
> "Cyborg" <apollo13@btinternet.com> wrote in message
> news:EC2813BB-AA58-49CC-A0A5-A8DDA30B4804@microsoft.com...
>> Hi,
>>
>> I'm using robocopy.exe to move old files to another server, I have
>> started copying files that are create from 31/12/2000 and before. Now
>> all the files do get moved across, but it will also create the entire
>> orginal folder structure, so I get folders with nothing in them because
>> no file meet that age, so why does it create the fodlers?
>>
>>
>> eg robocopy.exe G:\marketing F:\Archive\Marketing\2000 /E /copyall /move
>> /minage:20001231

>
>


Reply With Quote
  #5  
Old 31-07-2008
Pegasus \(MVP\)
 
Posts: n/a
Re: Robocopy help

Perhaps the folders aren't empty . . .
Try to remove one of these "empty" folders from
the Command Prompt, using this command:
rd "Name of empty folder"
If it is empty then it will be deleted. If it containts
hidden files or subfolders then it won't.


"Cyborg" <apollo13@btinternet.com> wrote in message
news:3666BE61-A559-4377-99AA-36CF7E29E651@microsoft.com...
> Tried that do I need to keep the /copyall as it still seemed to copy empty
> folders
>
>
> "Anthony [MVP]" <anthony@no-reply.com> wrote in message
> news:OOfSRSu8IHA.2416@TK2MSFTNGP02.phx.gbl...
>> Robocopy /? will tell you the commands.
>> /E = copy subfolders including empty subfolders.
>> /S = copy subfolders (but not empty)
>> Anthony,
>> http://www.airdesk.com
>>
>>
>>
>> "Cyborg" <apollo13@btinternet.com> wrote in message
>> news:EC2813BB-AA58-49CC-A0A5-A8DDA30B4804@microsoft.com...
>>> Hi,
>>>
>>> I'm using robocopy.exe to move old files to another server, I have
>>> started copying files that are create from 31/12/2000 and before. Now
>>> all the files do get moved across, but it will also create the entire
>>> orginal folder structure, so I get folders with nothing in them because
>>> no file meet that age, so why does it create the fodlers?
>>>
>>>
>>> eg robocopy.exe G:\marketing F:\Archive\Marketing\2000 /E /copyall /move
>>> /minage:20001231

>>
>>

>



Reply With Quote
  #6  
Old 31-07-2008
Anthony [MVP]
 
Posts: n/a
Re: Robocopy help

The /copy parameter is what file properties to copy. You can see the choices
by running robocopy /?. This does not affect what files or folders are
copied, only what properties of those files and folders selected,
Anthony,
http://www.airdesk.com




"Cyborg" <apollo13@btinternet.com> wrote in message
news:3666BE61-A559-4377-99AA-36CF7E29E651@microsoft.com...
> Tried that do I need to keep the /copyall as it still seemed to copy empty
> folders
>
>
> "Anthony [MVP]" <anthony@no-reply.com> wrote in message
> news:OOfSRSu8IHA.2416@TK2MSFTNGP02.phx.gbl...
>> Robocopy /? will tell you the commands.
>> /E = copy subfolders including empty subfolders.
>> /S = copy subfolders (but not empty)
>> Anthony,
>> http://www.airdesk.com
>>
>>
>>
>> "Cyborg" <apollo13@btinternet.com> wrote in message
>> news:EC2813BB-AA58-49CC-A0A5-A8DDA30B4804@microsoft.com...
>>> Hi,
>>>
>>> I'm using robocopy.exe to move old files to another server, I have
>>> started copying files that are create from 31/12/2000 and before. Now
>>> all the files do get moved across, but it will also create the entire
>>> orginal folder structure, so I get folders with nothing in them because
>>> no file meet that age, so why does it create the fodlers?
>>>
>>>
>>> eg robocopy.exe G:\marketing F:\Archive\Marketing\2000 /E /copyall /move
>>> /minage:20001231

>>
>>

>



Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Windows Server Help
Tags:



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Robocopy help"
Thread Thread Starter Forum Replies Last Post
Robocopy Help Lilli35 Windows Software 1 07-07-2011 12:14 AM
Robocopy - Copying Permissions john83 Windows Software 2 27-08-2010 07:22 PM
Robocopy help needed Adam Hann Windows Server Help 11 15-04-2009 01:20 AM
Robocopy problem Hugo Windows Server Help 7 02-10-2007 10:41 AM
Robocopy vs. Windiff Oscar Otto Windows Server Help 5 19-12-2006 06:51 PM


All times are GMT +5.5. The time now is 01:44 AM.