--- Philip S Tellis <[EMAIL PROTECTED]> wrote: > > I am writing a simple shell script to compare two > archives, in > > zip/tar/tgz format. I untar the two arhives in 2 > separate folders in > > why do you need to untar? > > If all you want to do is compare the archive file, > then just run diff or > cmp on the two files. If you want to compare their > contents, then > tar tf filename will give you that.
tar tf filename only displays the contents of the archive. I wanna compare the contents of the files within the two archives...so they need to be extracted... what say ? -KD __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
