This is an archived low-energy page for bots and other anonmyous visitors.
Please sign up if you are a human and want to interact.
in reply to Re^5: Handling Hash Comparison in thread Handling Hash Comparison
I am trying to synchronize the files recursively in the 2 dirs, so that everything in the source is checked in the destination, and updated if necessary, using md5's to check the files.
Re^7: Handling Hash Comparison
by Errto (Vicar) on Jul 23, 2005 at 00:37 UTC
|
Understood. In that case, once you follow my above suggestion for putting relative paths into the hash keys, then your cp statement simply becomes this:
"cp '$sdir/$key' '$fdir/$key'"
| [reply] [d/l] |
|