-
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

OPNsense pfSense 8-Core Atom C3758 2.2GHz 8GB DDR4 64GB SSD 8x NIC QAT AES VPN
$155.00

pfSense Firewall 16-Core Atom C3958 8GB DDR4 RAM 64GB SSD 8x 1Gbe QAT AES-NI VPN
$184.99

OPNsense pfSense 16-Core Atom C3958 16GB ECC RAM 512GB SSD 8-Port QAT AES-NI VPN
$288.00

Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet
$147.00

Fortinet FortiGate 60F FG-60F P24286-03-13 Network Firewall Security Appliance
$155.75

Palo Alto PA-220 Next-Gen Firewall 520-000309-00J
$40.00

Fortinet FortiGate 60F FG-60F UTM UTP License Until 2027 Network Security FW VPN
$199.99

Firewalla Gold Pro - 10 Gbps Cyber Security Firewall
$680.00

SonicWall TZ280 Firewall 03-SSC-6933 Advanced Edition 3YR NEW SEALED
$999.99

Cisco Meraki MX67-HW Security Appliance Firewall NEW Unused Unclaimed
$202.50