Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Unpacking all ipkgs in some root directory
#!/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