Skip to content

Instantly share code, notes, and snippets.

@philz
Created September 1, 2013 15:13
Show Gist options
  • Save philz/6405044 to your computer and use it in GitHub Desktop.
Save philz/6405044 to your computer and use it in GitHub Desktop.
Expand RPM packages
for x in *.rpm; do mkdir ${x%%.rpm}; cd ${x%%.rpm}; rpm2cpio ../$x | cpio -idmv; cd ..; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment