| | |
Comparing files on Mac
![]() |
•
•
Join Date: Oct 2007
Posts: 60
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 |
911 addball addressbook android api append applet application apps array arrays automation binary bluetooth businessintelligence button card class client code collision component crashcourse css csv database eclipse ee error fractal free ftp game gis givemetehcodez graphics gui html ide image integer integration j2me japplet java javaarraylist javadoc javafx javaprojects jni jpanel julia jvm linked linux list loan machine map method methods migrate mobile netbeans objects oriented output phone physics printf problem program programming project projects radio recursion replaydirector reporting researchinmotion rotatetext scanner se server service set sms software sort sql string swing test textfield threads tree trolltech ubuntu utility windows






