Solved

Question about robocopy MOVE vs. MOV switches

Posted on 2008-10-24
1
1,849 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Moving Files servers to DFS 11 57
How to run the DNS query from the server? 5 81
Group Policy & Netlogin Services 5 51
Auto-Enrollment Group Policy 2 55
Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

821 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