| View previous topic :: View next topic |
| Author |
Message |
towsonu2003 General User

Joined: 22 Sep 2005 Posts: 28
|
Posted: Thu Mar 29, 2007 7:39 am Post subject: |
|
|
I'm just trying to learn how this works now... what does | Code: | | do rpm2cpio $i | cpio -ivd | do, in simple terms? thanks |
|
| Back to top |
|
 |
Mark B Super User


Joined: 16 Feb 2007 Posts: 852 Location: Lincolnshire, UK
|
Posted: Thu Mar 29, 2007 8:23 am Post subject: |
|
|
| towsonu2003 wrote: | I'm just trying to learn how this works now... what does | Code: | | do rpm2cpio $i | cpio -ivd | do, in simple terms? thanks |
Normally this would be part of a loop, for example:
| Code: |
files=*.rpm
for f in $files
do
rpm2cpio $f | cpio -ivd
done
|
The do...done define the commands to be repeated for each run of the loop.
Mark _________________ Mark B's Articles |
|
| Back to top |
|
 |
9point9 Moderator

Joined: 31 Aug 2004 Posts: 3875 Location: UK
|
Posted: Mon Oct 22, 2007 2:19 pm Post subject: |
|
|
Another option for getting at files inside RPM's is to use 7-zip. p7zip is the command line version of it for Linux which may work better than any of the other programs suggested. It's a program I really don't think any computer should be without. _________________ Arch Linux
OOo 3.2.0
OOoSVN, change control for OOo documents:
http://sourceforge.net/projects/ooosvn/ |
|
| Back to top |
|
 |
|