For build-compare, we compare that the files are the same of the current build and the last build - and thus throw away the new build if they are the same. For this we can ignore all timestamps. I now have a problem with png files, they contain timestamps, e.g.: /usr/share/icons/Tango/24x24/actions/address-book-new.png differs ( PNG image data, 24 x 24, 8-bit/color R GBA, non-interlaced) --- /tmp/tmp.DxFiypOYVS 2010-08-25 07:07:40.000000000 +0000 +++ /tmp/tmp.wG7ZYsxIU5 2010-08-25 07:07:40.000000000 +0000 @@ -58,10 +58,10 @@ 00000390 39 6f 0f 3e 20 81 16 a3 9e 85 ff 1a ff 00 67 f8 |9o.> .........g.| 000003a0 31 7c 0c 93 b4 fd 00 00 00 25 74 45 58 74 64 61 |1|.......%tEXtda| 000003b0 74 65 3a 63 72 65 61 74 65 00 32 30 31 30 2d 30 |te:create.2010-0| -000003c0 38 2d 31 34 54 31 37 3a 34 32 3a 35 39 2b 30 30 |8-14T17:42:59+00| -000003d0 3a 30 30 a9 67 ca a8 00 00 00 25 74 45 58 74 64 |:00.g.....%tEXtd| +000003c0 38 2d 32 35 54 30 37 3a 30 33 3a 33 31 2b 30 30 |8-25T07:03:31+00| +000003d0 3a 30 30 63 01 be 97 00 00 00 25 74 45 58 74 64 |:00c......%tEXtd| 000003e0 61 74 65 3a 6d 6f 64 69 66 79 00 32 30 31 30 2d |ate:modify.2010-| -000003f0 30 38 2d 31 34 54 31 37 3a 34 32 3a 35 39 2b 30 |08-14T17:42:59+0| -00000400 30 3a 30 30 d8 3a 72 14 00 00 00 00 49 45 4e 44 |0:00.:r.....IEND| +000003f0 30 38 2d 32 35 54 30 37 3a 30 33 3a 33 31 2b 30 |08-25T07:03:31+0| +00000400 30 3a 30 30 12 5c 06 2b 00 00 00 00 49 45 4e 44 |0:00.\.+....IEND| 00000410 ae 42 60 82 |.B`.| 00000414 How can I compare two png files with ignoring the timestamp? Andreas -- Andreas Jaeger, Program Manager openSUSE, aj@{novell.com,opensuse.org} Twitter: jaegerandi | Identica: jaegerandi SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126