-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, 1 Aug 2004 10:35:26 -0500 Tom Brinkman <[EMAIL PROTECTED]> wrote:
>On Sunday 01 August 2004 09:38 am, RickS wrote: > Thanks! That's a much better solution than I posted > Tom Brinkman Corpus Christi, Texas > Proud to be an American Glad to help ... also I've been working on bash scripting, and also wrote this script from that alias .... I don't always know what all these packages actually are. So I added a sorted list of all the rpm info .. For any interested .... Here it is ..... #!/bin/bash ####################################################### # filename: rpminfo.sh # date: 2004-07-26 # author: ricks ( [EMAIL PROTECTED] ) # generates list of installed rpms. Sort the results, # appending the date to a text file. # then lists info for same rpm list, to another file ####################################################### # *.txt is the list of rpms installed # *.list is the info for each of the rpms installed from list txt file####################################################### DATE=`date +%d%m%y_%I%M` FILE1=/home/ricks/backup/rpmlist-$DATE.txt FILE2=/home/ricks/backup/rpmlist-$DATE.list rpm -qa | sort > $FILE1 xargs rpm -qi < $FILE1 > $FILE2 HTH too ... RickS +------------------------------------------------------+ MandrakeLinux 10.0 official - 2.6.3-15mdk-i686-up-4GB gpg --recv-keys --keyserver www.keyserver.net 0x24AABE61 +------------------------------------------------------+ I have often regretted my speech, never my silence. -- Publilius Syrus -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBDTAJJo/ckCSqvmERAs9DAJ0V8XuGlThBSssMRpSF7Qzqz/8dKgCfXO+x jjl5ZZ3LmEBiFWHo416980E= =l/w6 -----END PGP SIGNATURE-----
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________