robocopy
I want tomove folders and sub-folders after they age, say 2 months to another folder. What keeps happening is my root folder gets moved. Thepath would look like this; D:\AKC\storage\?? G:\storage\ I tried to use the GUIand it's great but I cant nail it. Any help would be greatly appreciated!
June 17th, 2008 10:33pm

I use the command line fairly frequently, but don't know the exact option. Were you using the RoboCopy command line? http://technet.microsoft.com/en-us/magazine/cc160891(TechNet.10).aspx
Free Windows Admin Tool Kit Click here and download it now
June 18th, 2008 4:47am

I think i got it together. I was overthinking it. the following is whatI am currently going to try to run on a weekly schedule: robocopy "S:\AKC\Stemp" "S:\AKC\copy" /MINAGE:30 /move /E /R:10 /W:30
June 18th, 2008 7:07pm

It seems to work in all the testing. The script posted was for testing and ultimately thedestination is going to change.I am now realizing it needs to create a log because what is going to happen is the files/folders are actually going to be moved to a removable drive after it's filled for long term archiving So a log is necassary for finding the files down the road. Robocopy can create a log so I will now play with that.
Free Windows Admin Tool Kit Click here and download it now
June 18th, 2008 7:44pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics