Training, Open Source computer languages
PerlPHPPythonMySQLApache / TomcatTclRubyJavaC and C++LinuxCSS 
Search for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
scp in perl5(unix)  most urgent

Posted by reyazan (reyazan), 11 June 2005
i want to copy files from 172.16.1.6/data/ to
my system (172.17.1.4/dat/) .but only those files
which we have not copied previously.

we should use scp in perl


Posted by admin (Graham Ellis), 11 June 2005
Hello.   Can you describe the problems that you're having in trying to write this script - perhaps post up some code so that we can give you some specific advise?  Have a look at our Posting FAQ which gives you suggestions in how to make the best use of resources here.

You have marked your post "most urgent".  I see all questions posted here within 24 hours, and respond as soon as is practical for me.  I don't have infinite resources for this service so I tend to put more time into questions that follow the FAQ - that's far more efficient for all concerned.  Posting out of the blue something marked as urgent is something the FAQ explicity asks you not to do (it explains why), and it won't get better or quicker answers I'm afraid.



Posted by John_Moylan (jfp), 13 June 2005
You sound like your in need of 'rsync'
Code:
DESCRIPTION
      rsync is a program that behaves in much the same way that rcp does, but
      has many more options and uses  the  rsync  remote-update  protocol  to
      greatly  speed  up  file  transfers  when  the destination file already
      exists.

      The rsync remote-update protocol allows rsync to transfer just the dif-
      ferences between two sets of files across the network connection, using
      an efficient  checksum-search  algorithm  described  in  the  technical
      report that accompanies this package.




This page is a thread posted to the opentalk forum at www.opentalk.org.uk and archived here for reference. To jump to the archive index please follow this link.

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2014: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 899360 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho