Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
robocopy question
#1
Looking for somebody with hands-on experience in robocopy.
I want to do the simplest of things, copy and paste, but the number of switches is confusing.
The setup:
On my Desktop, a path ....\BB-scans\ *.jpg (about 100.000 files)
On the server, a path .....\BB-scans\... already containing 250.000 other jpgs.

so:
robocopy BB-scans <serverpath>\BB-scans /NP
This does the job but ....
Why does it wait about 45 minutes before starting to copy?
Is it checking if there are any doubles ?
How can I avoid the waiting time, and make it start copying right away ?
thanks,
paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Reply
#2
Hey Paul! Robocopy can be a bit tricky with all those switches. It sounds like the delay might be due to it scanning the destination directory. You could try adding the /MT switch for multi-threading to speed things up, or /XO to skip older files if you don't need to check for duplicates. Something like: robocopy BB-scans <serverpath>\BB-scans /NP /MT /XO Give it a shot and see if it reduces the wait time.
Reply
#3
(Jun-18-2024, 08:56 PM)AdamHensley Wrote: BB-scans /NP /MT /XO
OK, thanks for the advice.
Next monday I 'm doing a very large copy operation.
Will try and let you know!
regards
Paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020