FN-GM Posted June 8, 2011 Posted June 8, 2011 Hi, I am doing a migration of users home folders onto a new file server on a new domain. In the root of student home folders there is a folder called Application Data and the administrator is locked out of this. Is there a way i can set robocopy to skip copying this folder please? Thanks
teejay Posted June 8, 2011 Posted June 8, 2011 Easiest way is to set retry to 1 and wait to 1 second with /R:1 /W:1
steveg Posted June 8, 2011 Posted June 8, 2011 I normally just use the /r:0 and /w:0 options - so if it fails on a file it just moves on. I figure that if it fails to copy something on the first attempt, the chances are it isn't going to get anywhere by keep trying so it it might as well just move on. Steve
FN-GM Posted June 8, 2011 Author Posted June 8, 2011 Thats what i have done for a temp fix but its slowing down the process. What does the /secfix switch actually do please?
steveg Posted June 8, 2011 Posted June 8, 2011 I believe /secfix just copies security information - for example if you copy all the files first, then decide you did want to copy security permissions, you can use that to just copy security settings and not all the files again. Steve
FN-GM Posted June 8, 2011 Author Posted June 8, 2011 That works. If i was to exclude 2 folders would i do this /XD "Application Data" "Folder1" or /XD "Application Data" /XD "Folder1"
Arthur Posted June 8, 2011 Posted June 8, 2011 What TeeJay said is correct, but you only need to use quotes for folders which contain spaces in their names. I usually tell RoboCopy to skip temporary and junk files too... /XF *.tmp .ds_store thumbs.db ~$*.*
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now