in reply to files sync

perl -le'system("rsync @ARGV")'

Ok, it's not really perl, but why are you reinventing the wheel?

Replies are listed 'Best First'.
Re^2: files sync
by DrAxeman (Scribe) on Aug 07, 2005 at 04:16 UTC
    If this is over a network you may want to consider using rsync over ssh.
    rsync -e ssh
    Of course, this will require setting up ssh keys that don't require passphrases.