Reply to comment

shell script to check out the content of multiple rpm files

  1. How to extract files in rpm packages without installing them for file in `ls -1 ../*.rpm` ; do rpm2cpio $file | cpio -ivmud ; done
  2. Files inside multiple rpm packages for file in `ls -1 ../*.rpm`; do echo The Files in $file >>filelist.txt; rpm -ql -p $file >>filelist.txt; echo >>filelist.txt ; echo >>filelist.txt; done
   

Reply

  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • You may post PHP code. You should include <?php ?> tags.

More information about formatting options