diff using two different xzm files?

Technical issues/questions of an intermediate or advanced nature.
User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

diff using two different xzm files?

Post#1 by Ed_P » 05 Jan 2017, 05:47

I seem to recall reading here that there was a way to find the difference between two modules. I've searched but can't find it. diff version1.xzm version2.xzm isn't it. Can someone point me in the right direction?

Thanks. :)
Ed

fulalas
DEV Team
DEV Team
Posts: 2050
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

Re: diff using two different xzm files?

Post#2 by fulalas » 05 Jan 2017, 10:29

sudo save-changes 1.xzm
# Do some processing to generate required changes
sudo save-changes 2.xzm
mkdir a b
sudo mount 1.xzm a
sudo mount 2.xzm b
diff -qr b a

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: diff using two different xzm files?

Post#3 by brokenman » 05 Jan 2017, 12:19

xzdiff --help
How do i become super user?
Wear your underpants on the outside and put on a cape.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: diff using two different xzm files?

Post#4 by Ed_P » 06 Jan 2017, 01:23

The thing I was looking for is what you posted fulalas but I like the sounds of your command brokenman.

Thanks guys. :friends:
Ed

Post Reply