-
Junior Member
registered user
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?
-
Senior Member
registered user
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
-
Junior Member
registered user
thought of that but it wouldn't give the difference between two files with different contents and same size
-
Senior Member
registered user
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
-
By star in forum Customising & Remastering
Replies: 0
Last Post: 04-26-2005, 04:29 AM
-
By kozo in forum General Support
Replies: 1
Last Post: 06-15-2004, 11:38 PM
-
By wrangler in forum General Support
Replies: 2
Last Post: 06-13-2004, 05:14 AM
-
By probono in forum Ideas
Replies: 0
Last Post: 03-08-2004, 01:45 PM
-
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
-
Forum Rules
Vintage Apple Macintosh II 2 M5000 Computer no power very nice w drives card
$350.00
Apple Mac Powerbook Duo 230 Vintage Laptop
$60.00
Lot Of Two Vintage Apple Macintosh Computers Models 128k M0001 For Parts
$250.00
Apple MacIntosh IIcx Vintage Desktop Computer M5650 - 1988/89
$200.00
Vintage Apple Macintosh SE Case - Empty Shell - Housing retro project
$60.00
Vintage Apple Macintosh Keyboard M0116 + ADB Mouse G5431
$85.00
Apple Macintosh Vintage DOS on Mac PC Compatible Interface PCI 590-4539 Y Cable
$80.00
VINTAGE APPLE MACINTOSH POWERBOOK 180 ( M4440) Powers On
$100.00
Apple Macintosh SE/30 M5119 Vintage Mac Computer BAD FLOPPY DRIVE FOR PARTS
$350.00
APPLE MACINTOSH PLUS M0001A Vintage Mac Computer Tested Working
$799.99