Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 5 of 5

Thread: how to compare the large text files ?

  1. #1
    Junior Member
    Join Date
    Jul 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default how to compare the large text files ?

    i have two large text files each one containg around the size is 4gb i need to know which are updated and which new rows by comparing both of them...please leave ur post as soon as possible...
    Thanking you


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: how to compare the large text files ?

    That's not really how this works. Please read the link in my signature on asking questions the smart way, then try again.

    Also, you've posted this in a forum meant for introducing yourself, not for asking questions.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    Member
    Join Date
    May 2011
    Location
    west palm beach, FL
    Posts
    189
    My Mood
    Tired
    Thanks
    41
    Thanked 11 Times in 10 Posts

    Default Re: how to compare the large text files ?

    wow a 4gb text file have you tried anything yet? im still amazed by a 4gb text file lol

  4. #4
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: how to compare the large text files ?

    Given you've mentioned nothing about what you've tried, or even if this is a java question, I'll point you to the following:
    diff - Linux Command - Unix Command

  5. #5
    Banned
    Join Date
    Jul 2013
    Posts
    49
    Thanks
    1
    Thanked 5 Times in 4 Posts

    Default Re: how to compare the large text files ?

    this may not be a java question but please tell us what softwares or techniques have you tried and what type of code are you trying to locate?

Similar Threads

  1. diplay a large text in JTextArea (>2GB)
    By NeoDesWay in forum AWT / Java Swing
    Replies: 4
    Last Post: August 18th, 2013, 07:20 AM
  2. Replies: 2
    Last Post: July 9th, 2013, 09:51 PM
  3. How to use MappedByteBuffer efficiently with extremely large files
    By Vyse in forum File I/O & Other I/O Streams
    Replies: 3
    Last Post: September 13th, 2012, 08:44 PM
  4. Java API to compare two files
    By Shakthi in forum Java Theory & Questions
    Replies: 16
    Last Post: August 22nd, 2012, 09:51 AM
  5. How to Search, Compare, and Replace text in the TextBox in J2ME?
    By SHENGTON in forum Java ME (Mobile Edition)
    Replies: 4
    Last Post: January 23rd, 2011, 09:20 PM