Created
May 10, 2013 10:30
-
-
Save tluyben/5553631 to your computer and use it in GitHub Desktop.
Unpacking all ipkgs in some root directory
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
$d = $ARGV[0]; | |
while(glob("$d/*.ipk")) { | |
chomp; | |
`tar xf $_`; | |
`tar pxzf data.tar.gz`; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment