Copyall is just about what file attributes to copy. http://ss64.com/nt/robocopy.html
From: Cameron [mailto:[email protected]] Sent: Friday, October 15, 2010 1:42 PM To: NT System Admin Issues Subject: Re: Robocopy I thought that the /copyall would copy everything over (directories, security, files) and create the folders on the fly? On Fri, Oct 15, 2010 at 12:52 PM, Andrew S. Baker <[email protected]<mailto:[email protected]>> wrote: /S /E Just like with XCOPY ASB (My XeeSM Profile)<http://xeesm.com/AndrewBaker> Exploiting Technology for Business Advantage... On Fri, Oct 15, 2010 at 12:33 PM, Maglinger, Paul <[email protected]<mailto:[email protected]>> wrote: First, I never move, I always copy then delete the original. (yeah, I know, hindsight and all) Second, it's been a looong time since I used this, but it seems that there were some checkbox options for subdirectories somewhere. I'll poke around and see if I can find my installation of it and provide more details. -Paul From: Cameron [mailto:[email protected]<mailto:[email protected]>] Sent: Friday, October 15, 2010 10:21 AM To: NT System Admin Issues Subject: Robocopy Ok, who the heck would have thought that Friday is actually a Monday in disguise! After totally changing the permissions on everyones home directories using Robocopy...I figured I'd better ask. I'm moving some leftover home directories from one server to another and got the bright idea to use Robocopy GUI to do this. Read the help file, did some googlefuing, thought I had it nailed. Set the source path: I:\\users\test (just a test folder with some files and sub folders) Set the target path: G:\\users\ (just a mapped drive to the other server) Copy options: /copyall and /move (so that it would move the folder/subdirs and keep the securities that I had placed on it) Ran the script and checked the other server. Yep...that was the plan... It moved the file I:\\users\test\filename.txt to G:\\users\filename.txt <not under the test folder> and didn't create the Test folder or any sub folders. I had *thought* it would create the folder and sub folders and set the perms...but apparently I was mistaken. Can someone point me in the right direction? <I don't want to have to reset all the bloody home directory perms again!> TIA! Cameron ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to [email protected]<mailto:[email protected]> with the body: unsubscribe ntsysadmin ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to [email protected]<mailto:[email protected]> with the body: unsubscribe ntsysadmin ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to [email protected]<mailto:[email protected]> with the body: unsubscribe ntsysadmin ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to [email protected]<mailto:[email protected]> with the body: unsubscribe ntsysadmin ~ Finally, powerful endpoint security that ISN'T a resource hog! ~ ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/> ~ --- To manage subscriptions click here: http://lyris.sunbelt-software.com/read/my_forums/ or send an email to [email protected] with the body: unsubscribe ntsysadmin
