Finds all big files and compresses them.
Python version should be same as specificed in runtime.txt
Create a virtual environment with python3 -m venv venv
Activate the virtual environment created with source venv/bin/activate
Install all dependencies with pip install -r requirements.txt
python app.py
- Sort all files with size from a given directory.
- Compress files above a given size. Using gzip.
- Move the compressed file to s3(or any other place).
- Delete the big files.
- Create as a package to be installed and ran with other projects.
- Create runnable binary for Ubuntu to be run on ubuntu servers.