File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

copy difference file from one server to another

 
amol Bhandwale
Greenhorn
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have following scenario.

On WEB1 there is a folder /usr/share/Shipment_Doc

On WEB2 there is a folder /usr/share/Shipment_Doc

On WEB2 there are some files which are not present on WEB1.

I want a script copy those file which are not present on WEB1 from WEB2.


Thanks,
Amol.




 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24204
34
Chrome Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If this is something you need to do on a regular basis, check out "rsync" (type "man rsync".)
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic