Link to home
Start Free TrialLog in
Avatar of TIMFOX123
TIMFOX123Flag for United States of America

asked on

untaring files in a redhat sos report

I am hoping to untar individual files in an sos report
/var/log/messages
/etc/ssh/ssdh.conf


you get the idea


if you have not done it, it is not an easy question.  the format inside of an sos report is not pretty


redhat 5/6
Avatar of Seth Simmons
Seth Simmons
Flag of United States of America image

move the sos report file to an empty folder and extract
tar xJf <filename>
Avatar of TIMFOX123

ASKER

I was actually looking to save the space.  Most new servers are virtual and live on a small amount of san.   comparing many servers this way is not practical
ASKER CERTIFIED SOLUTION
Avatar of Tintin
Tintin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
tar -xvf sosreport.tar.xz --wildcards *var/log/messages
tar -xvf sosreport.tar.xz --wildcards *etc/ssh/ssdh.conf

Open in new window