Home » Infrastructure » Unix » UNIX- How two compare a file on a local system and remote system
UNIX- How two compare a file on a local system and remote system [message #249073] Tue, 03 July 2007 05:15 Go to next message
madhu_dubasi
Messages: 12
Registered: November 2006
Junior Member
Hi Friends....
Am trying to ftp a file to remote system and i want to check whether the same file has been transfered or not?

How can i compare a file on local sys and remote sys?
I knoe that we can do this with diff command but Can anybody please suggest me syntax for this...

Thanks & Regards
madhu...
Re: UNIX- How two compare a file on a local system and remote system [message #249080 is a reply to message #249073] Tue, 03 July 2007 05:39 Go to previous messageGo to next message
Michel Cadot
Messages: 64111
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Use MD5 checksum and calculate before and after the transfer.
If they are equal then the transfer is OK.
man md5

Regards
Michel
Re: UNIX- How two compare a file on a local system and remote system [message #249219 is a reply to message #249080] Tue, 03 July 2007 12:16 Go to previous message
andrew again
Messages: 2577
Registered: March 2000
Senior Member
http://www.orafaq.com/forum/t/84473/45693/
Previous Topic: Reading Properties file
Next Topic: Unix-oracle-windows-msaccess
Goto Forum:
  


Current Time: Mon Dec 05 19:05:53 CST 2016

Total time taken to generate the page: 0.12936 seconds