Jump to content

Recommended Posts

Posted

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

Posted

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

Posted

Thats what i have done for a temp fix but its slowing down the process.

 

What does the /secfix switch actually do please?

Posted

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

Posted

That works. If i was to exclude 2 folders would i do this

 

/XD "Application Data" "Folder1"

 

or

 

/XD "Application Data" /XD "Folder1"

Posted

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 ~$*.*

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...