/package-analyzer

Bash script to download the sources of all packages from the Ubuntu main server and analyze it using regular expressions

Primary LanguageShellMIT LicenseMIT

Package analyzer

This is a simple bash script to download the sources from the main repositories of a distribution based in debian

Getting started

First, clone this repo:

git clone https://github.com/fooock/package-analyzer.git
cd package-analyzer

Usage

This script has two flags.

  • -n: Number of packages to analyze
  • -s: Preferred size of the packages to analyze in bytes

Imagine that you want to download only 10 packages with less than 10Mb each:

$ sudo ./fooocker.sh -n 10 -s 10000000

The output of the script is relative to the current directory. You can find it in $pwd/fooocker

Contributing

This work is under development, if you want to contribute fork it and send me a PR ;-)

License

See LICENSE file in this repo