Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^6: Handling Hash Comparison

by omega_monk (Scribe)
on Jul 23, 2005 at 04:31 UTC ( [id://477423]=note: print w/replies, xml ) Need Help??


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.

Replies are listed 'Best First'.
Re^7: Handling Hash Comparison
by Errto (Vicar) on Jul 23, 2005 at 04: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'"

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://477423]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2025-04-19 23:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.