Solved

Question about robocopy MOVE vs. MOV switches

Posted on 2008-10-24
1
1,884 Views
Last Modified: 2012-05-05
Here is the folder structure in questions:

c:\events\subfolder1
c:\events\subfolder2
c:\events\subfolder3

c:\EventsPre2008

I'm using robocopy to move files from the c:\events folder, and all of its subfolders, that have not been accessed since 1-1-2008 into the c:\EventsPre2008 folder.

Here is the command: robocopy c:\events c:\EventsPre2008 /E /Z /R:0 /MOVE /MINLAD:20080101

I'm concerned about it moving directories too (with the MOVE switch) instead of just moving files (with the MOV switch).

I'm considering using the MOV switch instead of the MOVE switch and here is why: Will it move directories (and then delete them from the source) only if all the files in that directory are moved? My concern is that it might move directories (and delete them from the source) even if only some files from a particular directory are moved. I'm sure I'm missing something here. Thanks!
0
Comment
Question by:WineGeek
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 63

Accepted Solution

by:
SysExpert earned 500 total points
ID: 22805895
1) make sure you have the latest robocopy version

2)  run some tests and see if it works like you want

unfortunately, all software have bugs, and you need to test it under conditions similar to what real world production will be like to insure that it works like  you think it will.


I hope this helps !
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Organizations create, modify, and maintain huge amounts of data to help their businesses earn money and generally function.  Typically every network user within an organization has a bit of disk space to store in process items and personal files.   …
by Batuhan Cetin In this article I will be guiding through the process of removing a failed DC metadata from Active Directory (hereafter, AD) using the ntdsutil tool in a Windows Server 2003 environment. These steps are not necessary in a Win…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question