Forum Thread

Move Files + Verify & Save the time stamps

LiquidRetro 12,661 4,824 December 1, 2015 at 09:03 AM
I am upgrading storage hard drives in my main system (W7). Old drive has been a little flaky and it was time for more space anyways. What I would like to do is move the couple of TB of files to the new drive using the same structure, verify the copy is complete and accurate while maintaining the Creation and Modified dates.

I have played a little with RoboCopy and I probably don't understand how to use it that well. It seems to run in the Command line and then move the files behind the scenes after? Any way I can get more visibility into this? Still not sure I have the settings right to do what I want.

Also played with RichCopy another MS utility. This might work again if I knew what boxes to check.

EDIT: Playing with TerraCopy now and I think it might do what I want. Time will tell.

Open to other suggestions on what to use to make sure I do this correctly and not miss anything.

15 Comments

1 2

Sign up for a Slickdeals account to remove this ad.

Joined Dec 2005
L10: Grand Master
6,351 Posts
1,085 Reputation
#2
Robocopy will work well for this. Use it scripted though in a batch file with logging turned on. Just search for robocopy script examples.
Reply Helpful Comment? 0 0
E finita la cuccagna

Liberals want you to think like them, Conservatives just want you to think!
Joined Dec 2005
L10: Grand Master
6,351 Posts
1,085 Reputation
#3
Here is a simple script I wrote a long time ago. Not sure it will work for you....

SET src="d:\sites\src"
SET dest="\\s1\d$\sites\src"

SET logd=%Date:~4,2%-%Date:~7,2%-%Date:~10,4%

set h=%TIME:~0,2%
if "%h:~0,1%" equ " " set h=0%h:~1,1%

SET logt=%h%.%time:~3,2%
SET logDT=%logd%-%logt%_src

NET USE \\s1\D$ /u:s1\publish password

robocopy %src% %dest% /MIR /LOG:c:\synchronization\logs\src\%logDT%.log

NET USE \\s1\D$ /D
Reply Helpful Comment? 0 0
Joined Jan 2006
L10: Grand Master
11,221 Posts
1,465 Reputation
#4
if you install cmder you have access to 'cp' that supports -p (preserve timestamps) -R (recursive) and -v (verbose)

% cp -pRv /path/to/old /path/to/new
Reply Helpful Comment? 0 0
Heifer whines could be human cries
Closer comes the screaming knife
Joined Jun 2005
Let Sleeping Dogs Lie
5,844 Posts
2,388 Reputation
Pro
#5
you can use rich copy (new version of robocopy) it allows all sorts of options

https://login.live.com/login.srf?...&mkt=en-US
Reply Helpful Comment? 0 0
Joined Aug 2005
L10: Grand Master
12,661 Posts
4,824 Reputation
Original Poster
Pro
#6
Quote from komondor View Post :
you can use rich copy (new version of robocopy) it allows all sorts of options

https://login.live.com/login.srf?...&mkt=en-US
Ya I played some with that, not sure I was setting the right flags but it did work for what I wanted. I am currently using TerraCopy which seems to work pretty well once I use it right too.


Thanks Everyone.
Reply Helpful Comment? 0 0
Vague questions receive vague answers . . . . . .
Joined Jun 2005
Let Sleeping Dogs Lie
5,844 Posts
2,388 Reputation
Pro
#7
Terra Copy is Ok I had issue with Beta Version
Reply Helpful Comment? 0 0
Joined Aug 2005
L10: Grand Master
12,661 Posts
4,824 Reputation
Original Poster
Pro
#8
Quote from komondor View Post :
Terra Copy is Ok I had issue with Beta Version
What were your issues, thats what I am using?
Reply Helpful Comment? 0 0

Sign up for a Slickdeals account to remove this ad.

Joined Jun 2005
Let Sleeping Dogs Lie
5,844 Posts
2,388 Reputation
Pro
#9
files didn't actually get moved?
Reply Helpful Comment? 0 0
Joined Aug 2005
L10: Grand Master
12,661 Posts
4,824 Reputation
Original Poster
Pro
#10
Quote from komondor View Post :
files didn't actually get moved?
Not currently having that problem but I will keep an eye out. I have been manually verifying after terracopy does its copy/verify.
Reply Helpful Comment? 0 0
#11
i am using this http://www.2brightsparks.com/syncback/
free version copies files and performs validation.
you can create job, save it and run it.
supports before after jobs and logs.
Reply Helpful Comment? 0 0
Joined Apr 2004
A P O C R Y P H A
2,451 Posts
1,095 Reputation
#12
I use this. I think it'll do all you want it to do. Easy to use and standalone program.

http://www.roadkil.net/program.php?ProgramID=29
Reply Helpful Comment? 0 0
Quote from kakomu View Post :
it only takes one moron to install exploits and viruses on a computer and a Mac doesn't make one smarter.
#13
Quote from dude2000 View Post :
i am using this http://www.2brightsparks.com/syncback/
free version copies files and performs validation.
you can create job, save it and run it.
supports before after jobs and logs.
I can also vouch for Syncback. Its been good for me for years.
Reply Helpful Comment? 0 0
Earth 1st! We'll mine the other planets later. Biker

Did you know?

If it can't be grown its gotta be mined
EEK!

The best meal I ever ate was Spotted Owl fried in Exxon Oil! Yumshake head

Expand your horizons. Explore something new. Get a RasberryPi and learn something.
Joined Aug 2005
L10: Grand Master
12,661 Posts
4,824 Reputation
Original Poster
Pro
#14
OK got all the files moved. Did a folder by folder comparison and number of files and each folder size match to the byte. However when I look at the old vs new drive as a whole side by side it doesn't match. Guessing this is down to formatting, what do you think?



Next step is to swap the drive letters and be done with this.
Reply Helpful Comment? 0 0
Joined Jan 2006
L10: Grand Master
11,221 Posts
1,465 Reputation
#15
Quote from LiquidRetro View Post :
OK got all the files moved. Did a folder by folder comparison and number of files and each folder size match to the byte. However when I look at the old vs new drive as a whole side by side it doesn't match. Guessing this is down to formatting, what do you think?
Formatting would be my guess too. Maybe a different block size, maybe a different 'min-free' setting and so on. If you're really paranoid you could run checksums but I think you've covered it.
Reply Helpful Comment? 0 0
Page 1 of 2
1 2
Join the Conversation
Add a Comment
 
Copyright 1999 - 2016. Slickdeals, LLC. All Rights Reserved. Copyright / Infringement Policy  •  Privacy Policy  •  Terms of Service  •  Acceptable Use Policy (Rules)  •  Interest-Based Ads
Link Copied to Clipboard