| | |
Comparing files on Mac
![]() |
•
•
Join Date: Oct 2007
Posts: 59
Reputation:
Solved Threads: 0
Hi.
The program I am writing is for a mac and am doing so in Java.
I am writing a program that finds Identical files or very similar files, not necessarily identical but very Similar. Now I can thus far compare files by name but some files are identical but have different names. Are there any other ways to compare files other than name, size is not really ideal nor is date created or modified as these can be different yet the files are identical.
Thank you in advance
The program I am writing is for a mac and am doing so in Java.
I am writing a program that finds Identical files or very similar files, not necessarily identical but very Similar. Now I can thus far compare files by name but some files are identical but have different names. Are there any other ways to compare files other than name, size is not really ideal nor is date created or modified as these can be different yet the files are identical.
Thank you in advance
You could compare the bytes you get from reading the file, but I have never used that way and I don't know how it will work.
As far as the almost identical you will need to decide the ruling.
http://java.sun.com/javase/6/docs/ap...putStream.html
http://java.sun.com/javase/6/docs/ap...redReader.html
http://java.sun.com/javase/6/docs/ap...putStream.html
As far as the almost identical you will need to decide the ruling.
http://java.sun.com/javase/6/docs/ap...putStream.html
http://java.sun.com/javase/6/docs/ap...redReader.html
http://java.sun.com/javase/6/docs/ap...putStream.html
Check out my New Bike at my Public Profile at the "About Me" tab
![]() |
Similar Threads
- Virex Scan (Mac Software)
Other Threads in the Java Forum
- Previous Thread: JTable help
- Next Thread: Connection Pools
| Thread Tools | Search this Thread |
addball android applet application apps array automation awt bidirectional binary birt bluetooth businessintelligence busy_handler(null) button card class classes client code collision columns component constructor crashcourse css database designadrawingapplicationusingjavajslider draw eclipse ee error eventlistener exception expand fractal free game givemetehcodez graphics gui guidancer html ide image integration intellij j2me java javaarraylist javadoc javafx javamicroeditionuseofmotionsensor javaprojects jme jni jpanel jtree julia jvm linux loan loop method migrate mobile mobiledevelopmentcreatejar myaggfun netbeans newbie oracle phone physics plazmic print problem program programming project radio scanner server service set sharepoint smart sms smsspam software sql subclass support swing textfield threads tree trolltech unlimited utility windows






