[CentOS] Copying files from DOS environment based on archive bit

Mon Aug 21 22:53:24 UTC 2006
David King <dking at ketralnis.com>

> 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.