Results 1 to 6 of 6

Thread: Robocopy help

  1. #1
    Cyborg Guest

    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


  2. #2
    Meinolf Weber Guest

    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
    >




  3. #3
    Anthony [MVP] Guest

    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" <[email protected]> wrote in message
    news:[email protected]...
    > 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




  4. #4
    Cyborg Guest

    Re: Robocopy help

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


    "Anthony [MVP]" <[email protected]> wrote in message
    news:[email protected]...
    > Robocopy /? will tell you the commands.
    > /E = copy subfolders including empty subfolders.
    > /S = copy subfolders (but not empty)
    > Anthony,
    > http://www.airdesk.com
    >
    >
    >
    > "Cyborg" <[email protected]> wrote in message
    > news:[email protected]...
    >> 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

    >
    >



  5. #5
    Pegasus \(MVP\) Guest

    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" <[email protected]> wrote in message
    news:[email protected]...
    > Tried that do I need to keep the /copyall as it still seemed to copy empty
    > folders
    >
    >
    > "Anthony [MVP]" <[email protected]> wrote in message
    > news:[email protected]...
    >> Robocopy /? will tell you the commands.
    >> /E = copy subfolders including empty subfolders.
    >> /S = copy subfolders (but not empty)
    >> Anthony,
    >> http://www.airdesk.com
    >>
    >>
    >>
    >> "Cyborg" <[email protected]> wrote in message
    >> news:[email protected]...
    >>> 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

    >>
    >>

    >




  6. #6
    Anthony [MVP] Guest

    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" <[email protected]> wrote in message
    news:[email protected]...
    > Tried that do I need to keep the /copyall as it still seemed to copy empty
    > folders
    >
    >
    > "Anthony [MVP]" <[email protected]> wrote in message
    > news:[email protected]...
    >> Robocopy /? will tell you the commands.
    >> /E = copy subfolders including empty subfolders.
    >> /S = copy subfolders (but not empty)
    >> Anthony,
    >> http://www.airdesk.com
    >>
    >>
    >>
    >> "Cyborg" <[email protected]> wrote in message
    >> news:[email protected]...
    >>> 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

    >>
    >>

    >




Similar Threads

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

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,750,318,846.87332 seconds with 16 queries