+ Post New Thread
Results 1 to 4 of 4
Scripts Thread, Robocopy not working as expected in Coding and Web Development; I have a robocopy script that uses the /mir switch. This has copied the files as expected but wanted to ...
  1. #1
    randle's Avatar
    Join Date
    Dec 2006
    Location
    Chelmsford, Essex
    Posts
    604
    Thank Post
    68
    Thanked 17 Times in 16 Posts
    Rep Power
    20

    Robocopy not working as expected

    I have a robocopy script that uses the /mir switch. This has copied the files as expected but wanted to test that when run again, this should see that the files already exists and skip them but this doesn't seem to be the case and is copying the files over again even though they haven't been modified

    Any ideas ?

  2. #2
    randle's Avatar
    Join Date
    Dec 2006
    Location
    Chelmsford, Essex
    Posts
    604
    Thank Post
    68
    Thanked 17 Times in 16 Posts
    Rep Power
    20
    Anyone? I've played around with the /M switch which only copies files/dirs with the archive bit set. After copying this unmarks the file/folder which in theory is exactly the behaviour i want (Something i thought the /MIR switch was meant to do) but this still copies all files over again

  3. #3
    randle's Avatar
    Join Date
    Dec 2006
    Location
    Chelmsford, Essex
    Posts
    604
    Thank Post
    68
    Thanked 17 Times in 16 Posts
    Rep Power
    20
    I was wrong as this doesn't copy all files over again. It just takes a while to check through for changes. Even still i thought the /MIR switch was meant to take care of all needed switches for a sync like the /CLONE switch does in XXCOPY

  4. #4
    randle's Avatar
    Join Date
    Dec 2006
    Location
    Chelmsford, Essex
    Posts
    604
    Thank Post
    68
    Thanked 17 Times in 16 Posts
    Rep Power
    20
    I didn't realise you could run Synctoy as a scheduled task which pretty much does what i need so will use that instead.



SHARE:
+ Post New Thread

Similar Threads

  1. Robocopy
    By acrobson in forum How do you do....it?
    Replies: 16
    Last Post: 22nd December 2007, 02:41 PM
  2. Robocopy question
    By switchflare in forum How do you do....it?
    Replies: 3
    Last Post: 18th October 2007, 08:25 PM
  3. RoboCopy users.
    By tosca925 in forum Windows
    Replies: 3
    Last Post: 20th May 2007, 12:58 PM
  4. Replies: 0
    Last Post: 7th December 2006, 11:52 PM
  5. Robocopy questions...............!
    By Kyle in forum Windows
    Replies: 3
    Last Post: 28th January 2006, 08:20 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •