Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.4: A free utility to check for complete network copies System
Tiger only hintA possible bug which has been reported at several Mac internet sites and at Apple Tech Support involves incomplete copies made over a network to 10.4 machines. In copying some folders -- in my experience, ones with a large number of files -- the OS will report all files as having been copied successfully, without reporting any errors. But when the finished copy is checked, files will be missing from some sub-folders of the root folder copied. Other folders or files may have incorrect permissions, or even report No Access.

As no errors are reported, this can lead to serious consequences, including data loss, if the original folder is subsequently deleted, for example. So I created a small application (Compare Folders, 1.0MB download) to check for this issue after the copy is made.

The application lists all items, even in subfolders, or items contained within application or installer bundles, in both the Source and Target, and then highlights any items not found on the Target in red. It also lists the Permissions for each file. It can then copy over the missing items from the Source folder to their corresponding locations on the Target, and can copy the permissions from all items in the Source folder to all items in the Target, and report the success of those changes. A limitation to this is that if any files require the Admin password to change their permissions, then those files will need to have their Permissions changed manually.

Please also note that this application, although thoroughly tested here, is version 0.1, and should be considered beta software. Any damage to files or the permissions of those files is the sole responsibility of the user. If you feel you may be taking a risk, you can use the app to find which files are missing, and do any copying/changing of permissions manually without risk of data loss.

[robg adds: I tested the program, and it works as described (though I haven't had any network copying issues here). I found it easier to use than the Developer Tools' FileMerge, which has been mentioned here before as a good way to compare folders. There are some glitches (resizing the window doesn't work as expected), but this seems like a quick way to make sure a copy is really a copy.]
    •    
  • Currently 3.40 / 5
  You rated: 4 / 5 (5 votes cast)
 
[8,322 views]  

10.4: A free utility to check for complete network copies | 5 comments | Create New Account
Click here to return to the '10.4: A free utility to check for complete network copies' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: A free utility to check for complete network copies
Authored by: syko on Apr 13, '06 08:13:50AM

nice!

filemerge is SLOOOOOOOOOOW



[ Reply to This | # ]
10.4: A free utility to check for complete network copies
Authored by: osxpounder on Apr 13, '06 02:48:22PM

Is this problem you describe related in any way to SFTP transfer problems? I ask because I tried to move several files last night over a slow ADSL connection, using Fetch to SFTP into my box at the office from home. I am forced to use a Cisco VPN client, too.

Invariably, every time I tried to copy a 14.8MB QuickTime movie, Fetch would hang at the end of the transfer, and then say it failed because of a "bad response" from the server. It *seemed* that the whole file transferred safely, though. It plays ... and no content seems to be missing from the end.

I'm going to DL and try that program, anyway. Thanks!

Larger files managed to transfer, but not all of them. I got the same response waiting on a 100+ MB WAV file.

---
--
osxpounder



[ Reply to This | # ]
10.4: A free utility to check for complete network copies
Authored by: xSmurf on Apr 15, '06 07:06:11AM
A really good way to check if a large file was transferred properly is to use MD5 to create a hash of both files and see if they differ.
$ md5 file.one
then do it again for file two and look at both hashes.

---
PM G4 DP 800 / 1.25gb / 120Gb+80Gb / CD/DVD±RW/RAM/DL
- The only APP Smurf

[ Reply to This | # ]

10.4: A free utility to check for complete network copies
Authored by: kenahoo on Apr 13, '06 03:22:33PM

It seems like rsync with the --dry-run option might be a good thing to know about also. It's already built into the system, and nothing much else is going to be able to touch it for speed. If it reports differences, a simple change of parameters can send the necessary updates to the other side.

-Ken



[ Reply to This | # ]
10.4: A free utility to check for complete network copies
Authored by: MacMatik on Apr 16, '06 03:21:01AM

You mentioned that this bug was reported at several Mac internet sites and Apple tech support. Do you have a link to that information? I just ran into this particularly insidious bug myself. I copied files over from a network drive, and thinking all nested files were properly copied, I deleted the files from my source drive.

I can easily reproduce the bug with a test folder containing files, I'm not sure what causes this in the first place. I'd appreciate it if anyone has more information on this bug, as I'd like to avoid triggering it again.



[ Reply to This | # ]