I want to write a java code that executes Linux command to copy a directory from server to another server.I got a directory which contains sub directories and files. So I need to copy all these contents to another server. How can I use Linux command for that purpose in java.
Thanks a lot!