-----Original Message----- From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf Of Les Mikesell Sent: Tuesday, August 22, 2006 12:16 AM To: CentOS mailing list Subject: Re: [CentOS] Copying files from DOS environment based on archive bit On Mon, 2006-08-21 at 15:53 -0700, David King wrote: > > I am trying to automate a backup procedure that pushes files from > > the NT disk to another site as a ZIP file using scp [...] Any > > ideas?! > > Well, if you don't mind having three copies of the data (one on the NT > server, one on the server with the share mounted, and one on the > target server), why not use rsync? rsync can operating over ssh just > like scp, and it will copy data incremenetally (that is, it will only > copy data that has changed). You could rsync from the NT server to the > Linux server and again from the Linux server to the target server. Or, > maybe even more efficient, just rsync from the NT server to the target > server (then you only have two copies of the data), if you can install > rsync on the NT server > > See "man rsync" and the various rsync tutorials around the net. Or, leave the mount the way it is and rsync from the linux view to wherever the other copy is stored. -- Les Mikesell lesmikesell at gmail.com Thanks guys I had my head so in the clouds looking for DOS-like solutions I'd not even considered rsyncing through the share - testing it now and it seems to be fine: NT Drive C -> share -> cron job runs rsync via SSH on local Linux server - > ADSL -> remote Linux server