How to save your rpm's for future reuse in Mandriva. p2 of 10
Posted 05-12-2010 at 12:04 AM by GlennsPref
Code:
Now with all of that it only takes a second to convert the list and I can enjoy my time doing what ever else I like. I hope someone else finds this helpful, cheers and kind regards, Glenn (GlennsPref@gmail.com) Scripts with explanations.... The first was a backup script which only collected the downloaded rpms from /var/cache/urpmi/rpms to a directory safe within /home/glenn/....I have many partitions, don't know why, Maybe just because I can, lol.Code:glenn@GamesBox:~$ df (28-04 12:09) Filesystem Size Used Avail Use% Mounted on /dev/sda5 20G 1.8G 17G 10% / /dev/sda1 92M 59M 28M 68% /boot /dev/sda14 383G 232G 151G 61% /home /dev/sdc7 33G 176M 33G 1% /home/glenn/local/Music /dev/sdd5 52G 180M 52G 1% /home/glenn/local/Video /dev/sdb8 73G 61G 13G 84% /home/glenn/local/spare /dev/sdc1 56G 180M 55G 1% /home/glenn/local/stuff /dev/sdb7 34G 31G 2.9G 92% /home/glenn/local/vm1 /dev/sdb9 74G 51G 23G 69% /home/glenn/stuff /dev/sdb1 22G 13G 9.4G 57% /media/win_c /dev/sdd6 31G 14G 18G 44% /media/win_c2 /dev/sdb6 29G 19G 9.8G 66% /media/win_d /dev/sdd7 63G 23G 41G 36% /media/win_d2 /dev/sda11 5.0G 138M 4.6G 3% /opt /dev/sda8 8.0G 157M 7.4G 3% /tmp /dev/sda7 9.9G 5.3G 4.1G 57% /usr /dev/sda10 5.0G 139M 4.6G 3% /usr/local /dev/sdc6 20G 520M 18G 3% /usr/src /dev/sda6 20G 911M 18G 5% /var /dev/sdc5 3.5G 72M 3.3G 3% /var/ftp /dev/sda13 5.0G 139M 4.6G 3% /var/spool /dev/sda12 2.0G 56M 1.9G 3% /var/www glenn@GamesBox:~$ (28-04 13:27)
Total Comments 0