https://github.com/fooock/package-analyzer
Bash script to download the sources of all packages from the Ubuntu main server and analyze it using regular expressions
https://github.com/fooock/package-analyzer
Last synced: 9 months ago
JSON representation
Bash script to download the sources of all packages from the Ubuntu main server and analyze it using regular expressions
- Host: GitHub
- URL: https://github.com/fooock/package-analyzer
- Owner: fooock
- License: mit
- Created: 2017-03-27T17:02:04.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-01T21:05:18.000Z (over 8 years ago)
- Last Synced: 2025-02-12T05:56:51.260Z (11 months ago)
- Language: Shell
- Homepage:
- Size: 12.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```bash
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:
```bash
$ 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