the wheel was invented round
not the DOS shape :)
Upgrade thy servers.
It would be interresting to see rsync written in java..
I would probably use it.
As long as it would work with SSH type public private key pairs
D
Richard S.Martin wrote:
Why? Platform independence. Single one-language code base. Java API already has the required functionalityBut mostly because, As the guy said, DOS can't do it. If the wheel is broken, or doesn't do what it claims to (because some marketing guy thought square ones would be easier to sell) then re-invent it! On Monday 27 May 2002 09:48 am, David Cassidy wrote:wheel - re-invent thyself ... Why ? Richard S.Martin wrote: why on earth do you want to use a batch file to do this? Why constrain yourself to the limited functionality of a flaky OS? Why not do this from Java and then you can build whatever logic you like into it. On Monday 27 May 2002 09:02 am, Kesav, Ramesh wrote: Hi all, pardon me if it is out of topic. But i need this urgently. I have 2 folders say A and B. i need to copy the contents of A and its subdirectories into B. The copying should take care of the following things. 1) if the copied contents is the same as that of the already existing one then the file in B should not get overwriten. for this i need to capture the date and time of the file in A. 2) also the folder A can reside in any of the geographical locations say for ex in USA. i need to track the modified date and time of the file in A and compare with that of the file in B. if it has changed then i should overwrite it else i should not. i need to create this as a batch file and then run it thru java program as a scheduled task. i tried to use XCOPY but in vain. any open source for this will be highly helpful to me. Regards Ramesh Kesavanarayanan [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ======================================================================== === To unsubscribe, send email to [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> and include in the body of the message "help". ======================================================================== ====== This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. All information is the view of the individual and not necessarily the company. If you are not the intended recipient you are hereby notified that any dissemination, distribution, or copying of this communication and its attachments is strictly prohibited. If you have received this email in error please notify: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ======================================================================== ====== ======================================================================== === To unsubscribe, send email to [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> and include in the body of the message "help".---------------------------------------- Content-Type: text/html; charset="us-ascii"; name="Attachment: 1" Content-Transfer-Encoding: 7bit Content-Description: ---------------------------------------- ============================================================================== This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. All information is the view of the individual and not necessarily the company. If you are not the intended recipient you are hereby notified that any dissemination, distribution, or copying of this communication and its attachments is strictly prohibited. If you have received this email in error please notify: [EMAIL PROTECTED] ==============================================================================
