Skip to content

Instantly share code, notes, and snippets.

@tluyben
Created May 10, 2013 10:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tluyben/5553631 to your computer and use it in GitHub Desktop.
Save tluyben/5553631 to your computer and use it in GitHub Desktop.
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