Solved

Question about robocopy MOVE vs. MOV switches

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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

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.   …
Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

626 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