|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
diff on compressed files with tar.gz ext
how can I find out what is the difference between two tar.gz files without uncompressing them.
thank you. |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
hey
Use 'tar tv' This Lists the files from the default tape device without extracting them.
maybe this will help ya... jas |
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
You can't. At some point you have to decompress them.
|
|
#4
|
|||
|
|||
|
how bout..
Try Using diff , it will output a difference report containing the text that differs between the two files...
$ diff "file1" "file2" [RET] (of course don't use the ") Maybe this will do! |
| Sponsored Links | |
|
|
#5
|
|||
|
|||
|
Or perhaps not.
1. A compressed file is binary, diff is a text tool. 2. A tar file may contain the files in any order and still be considered the same. |
| Sponsored Links | |
|
|
#6
|
|||
|
|||
|
...
Sorry!
will cmp work? jas |
| Sponsored Links | |
|
|
#7
|
|||
|
|||
|
2. A tar file may contain the files in any order and still be considered the same.
|
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Extracting data from many compressed files | Boltzmann | UNIX for Dummies Questions & Answers | 1 | 04-09-2010 01:55 PM |
| To view compressed files | supercops | UNIX for Dummies Questions & Answers | 4 | 02-13-2009 05:50 PM |
| multi part compressed files | gffb | UNIX for Dummies Questions & Answers | 7 | 05-01-2008 07:32 PM |
| Line count for compressed files | swamy455 | Shell Programming and Scripting | 1 | 08-02-2007 10:40 PM |
| diff 2 files; output diff's to 3rd file | blt123 | Shell Programming and Scripting | 2 | 05-28-2002 11:29 AM |
|
|