[SunHELP] syncing/copying files

Ravi Katti sunhelp at sunhelp.org
Fri Oct 5 20:08:37 CDT 2001


How about rsync or rdist? I think they will do exactly what you are looking 
for.

Thanks & Regards
Ravi



----Original Message Follows----
From: Larry Snyder <larrys at lexisnexis.com>
Reply-To: sunhelp at sunhelp.org
To: sunhelp at sunhelp.org
Subject: Re: [SunHELP] syncing/copying files
Date: Fri, 5 Oct 2001 18:44:36 -0400 (EDT)

I'm not a perl geek, but find can test the mtime of a copied file and with
'newer' feed your script.  I'm not expressing this right, but hope you
get the idea.
-ls-

David Bishop <tech at bishop.dhs.org> wrote:
 > -----BEGIN PGP SIGNED MESSAGE-----
 > Hash: SHA1
 >
 > I am tasked with syncing two directorys, sort of.  I have a large 
directory
 > with a ton of files (10K+) of which I want a subsection copied over to
 > another directory.  Luckily, all the files I want to move are prefaced by
 > known strings (foo, bar, boz), so I wrote a 5 line perl script that 
slurps up
 > a config file that lists all the prefaces we want to copy, then does a
 >
 > foreach $preface ($blah){sytem("cp $preface* /target") or die;}.

_______________________________________________
SunHELP maillist  -  SunHELP at sunhelp.org
http://www.sunhelp.org/mailman/listinfo/sunhelp


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




More information about the SunHELP mailing list