Results 1 to 4 of 4

Thread: Comparing two TAR files and getting diff?

  1. #1
    Junior Member registered user
    Join Date
    Jun 2004
    Posts
    13

    Comparing two TAR files and getting diff?

    Ok i may seem retarded, but if i have two tarballs, one is of a file system and the other is the same filesystem with changes
    how can i get a new tarball that has just the differences between the two. There are a couple gigs apiece so i really didn't want to uncompress both to do a diff. is that the only option?

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    Just off the top of my head:
    tar tvf tar1.tar > output1.txt
    tar tvf tar2.tar > output2.txt
    diff output1.txt output2.txt > diff.txt

  3. #3
    Junior Member registered user
    Join Date
    Jun 2004
    Posts
    13
    thought of that but it wouldn't give the difference between two files with different contents and same size

  4. #4
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    Correct. If you need to guarantee bit-level uniqueness then you are probably left with the option of with complete extraction of the tar & then logging & comparing cryptographic hashes (MD5 or SHA1).

Similar Threads

  1. boot from cd with diff ISO!!
    By star in forum Customising & Remastering
    Replies: 0
    Last Post: 04-26-2005, 04:29 AM
  2. need help with swf files
    By kozo in forum General Support
    Replies: 1
    Last Post: 06-15-2004, 11:38 PM
  3. rar files
    By wrangler in forum General Support
    Replies: 2
    Last Post: 06-13-2004, 05:14 AM
  4. Replies: 0
    Last Post: 03-08-2004, 01:45 PM
  5. myhome/myconfig - what's the diff?
    By zkosty in forum General Support
    Replies: 4
    Last Post: 10-22-2003, 06:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Atari Basic - Learning by Using by Thomas E. Rowley picture

Atari Basic - Learning by Using by Thomas E. Rowley

$25.00



Atari 130 XE/Atari 1050 Bundle W/ Cords And Extras (Powered On) picture

Atari 130 XE/Atari 1050 Bundle W/ Cords And Extras (Powered On)

$300.00



DEFECTIVE Atari 810 Vintage Computer Disk Drive  powers on Unit Only Boo G3D picture

DEFECTIVE Atari 810 Vintage Computer Disk Drive powers on Unit Only Boo G3D

$49.29



UNOCART-2600 SD card Multi Rom Cartridge for ATARI 2600 with CASE picture

UNOCART-2600 SD card Multi Rom Cartridge for ATARI 2600 with CASE

$34.25



ATARI TRICKY TUTORIAL #7 DISK UNTILITES 400/800/1200XL/130XE/815/1400XL/835 picture

ATARI TRICKY TUTORIAL #7 DISK UNTILITES 400/800/1200XL/130XE/815/1400XL/835

$20.00



COMPUTE's 1st + 2nd BOOK of ATARI 400/800/1200XL/810/822/130XE/835/65XE/XEGS picture

COMPUTE's 1st + 2nd BOOK of ATARI 400/800/1200XL/810/822/130XE/835/65XE/XEGS

$30.00



Fujinet 1.7.1 Atari 400 800 800XL 130XE 65XE XEGS Assembled, Tested, Working picture

Fujinet 1.7.1 Atari 400 800 800XL 130XE 65XE XEGS Assembled, Tested, Working

$99.99



How to program your Atari in 6502 Machine Language by Sam D. Roberts picture

How to program your Atari in 6502 Machine Language by Sam D. Roberts

$25.00



Atari 800 8-bit Computer System Fully Tested Great Condition 48k READ picture

Atari 800 8-bit Computer System Fully Tested Great Condition 48k READ

$350.00



Happy 1050 Upgrade for Atari 1050 Disk Drive - Solderless Installation - HS/DD picture

Happy 1050 Upgrade for Atari 1050 Disk Drive - Solderless Installation - HS/DD

$49.97