verify copy?

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

verify copy? Wed Jun 09, 2010 6:35 pm • by maxit
is there a way after copying to do a binary verify and then delete the file if the verify is good?
maxit
 
Posts: 10
Joined: Wed Jun 09, 2010 5:36 pm

Re: verify copy? Sat Jun 12, 2010 12:47 am • by sjk
It would have to be done with scripting.

I'm curious what reason(s) you have to suspect the copied files might be corrupt.
sjk
 
Posts: 332
Joined: Thu Aug 02, 2007 5:43 pm
Location: Eugene

Re: verify copy? Tue Jun 29, 2010 7:27 am • by maxit
as far as I know the OS does not verify copying. so any file is possible to not match.
when archiving I want to make sure the file is exact.

i have used an application for doing fast binary compare called zsCompare, but would like to make it automated. Old Retrospect 6 has a verify function and even toast will do a verify.

i am trying shell script "diff -qr", but that takes it outside Hazel.
If would be nice to automate a function run if a file/folder is verified or not.

for example,
copy files in a folder to a server
then verify the files match
if they match delete the original file
if not matched growl message. or delete the files just copied on the server and try again.
maxit
 
Posts: 10
Joined: Wed Jun 09, 2010 5:36 pm

Re: verify copy? Tue Jun 29, 2010 12:44 pm • by Mr_Noodle
You have to use a script for this. It does seem like a somewhat specialized workflow.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: verify copy? Tue Jun 29, 2010 4:24 pm • by maxit
it would be great if you would consider adding verify to a new version in the future.
i have read many discussions on the net and tons of people want to be able verify.
maxit
 
Posts: 10
Joined: Wed Jun 09, 2010 5:36 pm

Re: verify copy? Wed Jun 30, 2010 4:10 pm • by sjk
maxit wrote:as far as I know the OS does not verify copying.

Copying with Finder (for example) fails when it detects certain errors so there's some level of "verification" happening. But apparently copying can appear to succeed when it hasn't, which is something which that ZFS intends to eliminate/minimize:

Checksums and Self-Healing Data

when archiving I want to make sure the file is exact.

Whether or not there's reason to do post-copy verification seems partly dependent on which type/method of archiving is used, e.g.:

Old Retrospect 6 has a verify function and even toast will do a verify.

I know it's optional in Toast but don't have any experience with Retrospect.

I'm short on time right not, but here are some topics on the Shirt Pocket Discussions forum that question/explain what I've been trying to:

Data integrity question- how much verification by SuperDuper?
data verification
Copy Verification
sjk
 
Posts: 332
Joined: Thu Aug 02, 2007 5:43 pm
Location: Eugene


Return to Support