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
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?
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
thought of that but it wouldn't give the difference between two files with different contents and same size
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).
A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM
$287.96
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP
$35.99
[ BULK LOT OF 10 ] 32GB 2Rx4 PC4 3200AA DDR4 25600 RDIMM ECC Server RAM
$350.00
Corsair Dominator Platinum DDR4 RAM 16 GB 3200 Desktop Memory Kit
$60.00
HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin
$12.90
Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3
$21.50
8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A
$12.00
HyperX FURY DDR4 8GB 16GB 32GB 3200MHz PC4-25600 Desktop RAM Memory DIMM 288pins
$72.93
HyperX FURY DDR4 16GB 3200 MHz PC4-25600 Desktop RAM Memory DIMM 288pin 2x 16GB
$127.20