list filesete from installation files

if you have multiple files (*.bff) for AIX Upgrade and you search for specific package on these files, try the following commands :

#installp -ld U811780.bff
Fileset Name Level I/U Q Content
====================================================================
Java5.msg.zh_CN 5.0.0.175 S N usr
# Java SDK 32-bit Locale/Messages - Simplified Chinese

the previous command to search inside one package, and the following script search in side all packages on one directory and you can redirect the ouput to a file then search on that file:

 

#!/usr/bin/ksh
for i in `ls -tr /FILES_DIRECTORY/*.bff`
do
echo "The Packages inside the fileset $i are " >> /tmp/pack.out
installp -ld  $i >> /tmp/pack.out
done
This entry was posted in AIX. Bookmark the permalink.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.